$ git clone -n https://gitee.com/src-anolis-sig/keentune_target.git /var/lib/mock/dist-an8-keentune-build-189916-60619/root/chroot_tmpdir/scmroot/keentune_target Cloning into '/var/lib/mock/dist-an8-keentune-build-189916-60619/root/chroot_tmpdir/scmroot/keentune_target'... $ git reset --hard origin/a8-2.0 HEAD is now at 78eac52 update tar.gz file