$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ksh.git /var/lib/mock/dist-an7-updates-build-42998-21666/root/chroot_tmpdir/scmroot/ksh Cloning into '/var/lib/mock/dist-an7-updates-build-42998-21666/root/chroot_tmpdir/scmroot/ksh'... $ git reset --hard origin/a7 HEAD is now at 93d7be4 update to ksh-20120801-142.el7.src.rpm