$ git clone -n https://gitee.com/mgb01105731/kmod.git /var/lib/mock/dist-an23-build-126498-46161/root/chroot_tmpdir/scmroot/kmod Cloning into '/var/lib/mock/dist-an23-build-126498-46161/root/chroot_tmpdir/scmroot/kmod'... $ git reset --hard 4dec922468639245598e9228a51e5d01a68168bd HEAD is now at 4dec922 update to 30