$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ksh.git /var/lib/mock/dist-an7-build-28589-15276/root/chroot_tmpdir/scmroot/ksh Cloning into '/var/lib/mock/dist-an7-build-28589-15276/root/chroot_tmpdir/scmroot/ksh'... $ git reset --hard origin/a7 HEAD is now at b5c1e85 update to ksh-20120801-140.el7_7.src.rpm