$ git clone -n https://gitee.com/src-anolis-os/tar.git /var/lib/mock/dist-lifsea8-build-75601-39259/root/chroot_tmpdir/scmroot/tar Cloning into '/var/lib/mock/dist-lifsea8-build-75601-39259/root/chroot_tmpdir/scmroot/tar'... $ git reset --hard origin/a8 HEAD is now at c2ff749 update to tar-1.30-5.el8.src.rpm