$ git clone -n https://gitee.com/src-anolis-sig/keentune_brain.git /var/lib/mock/dist-an8.4-keentune-build-80429-40950/root/chroot_tmpdir/scmroot/keentune_brain Cloning into '/var/lib/mock/dist-an8.4-keentune-build-80429-40950/root/chroot_tmpdir/scmroot/keentune_brain'... $ git reset --hard origin/dev-1.1.0-2 HEAD is now at ad25805 update to version 1.1.0-2