$ git clone -n https://gitee.com/src-anolis-sig/keentune_target.git /var/lib/mock/dist-an8-keentune-build-198366-60619/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an8-keentune-build-198366-60619/root/chroot_tmpdir/scmroot/keentune_target'... $ git reset --hard origin/a8 HEAD is now at 6a6ac10 fix bug: remote -q for %autosetup