$ git clone -n https://gitee.com/happy_orange/keentune_target.git /var/lib/mock/dist-an8.6-build-90611-45300/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an8.6-build-90611-45300/root/chroot_tmpdir/scmroot/keentune_target'... $ git reset --hard 3bd8967a6e5b4ce5091c5be6110043dd46348d6d HEAD is now at 3bd8967 update spec file