$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/lsof.git /var/lib/mock/dist-an7-build-29098-15350/root/chroot_tmpdir/scmroot/lsof Cloning into '/var/lib/mock/dist-an7-build-29098-15350/root/chroot_tmpdir/scmroot/lsof'... $ git reset --hard origin/a7 HEAD is now at 3365a01 import lsof-4.87-6.el7.src.rpm