$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/git.git /var/lib/mock/dist-an7-build-31204-15701/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an7-build-31204-15701/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/a7 HEAD is now at 92cba67 update to git-1.8.3.1-21.el7_7.src.rpm