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