$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xorg-x11-xinit.git /var/lib/mock/dist-an7-build-30761-15553/root/chroot_tmpdir/scmroot/xorg-x11-xinit Cloning into '/var/lib/mock/dist-an7-build-30761-15553/root/chroot_tmpdir/scmroot/xorg-x11-xinit'... $ git reset --hard origin/a7 HEAD is now at 349add9 import xorg-x11-xinit-1.3.4-2.el7.src.rpm