$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tar.git /var/lib/mock/dist-an8.4-build-19741-8529/root/chroot_tmpdir/scmroot/tar Cloning into '/var/lib/mock/dist-an8.4-build-19741-8529/root/chroot_tmpdir/scmroot/tar'... $ git reset --hard origin/a8 HEAD is now at c2ff749 update to tar-1.30-5.el8.src.rpm