$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/lsof.git /var/lib/mock/dist-an8.4-build-19562-8459/root/chroot_tmpdir/scmroot/lsof Cloning into '/var/lib/mock/dist-an8.4-build-19562-8459/root/chroot_tmpdir/scmroot/lsof'... $ git reset --hard origin/a8 HEAD is now at 14bf3e5 update to lsof-4.93.2-1.el8.src.rpm