$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ruby.git /var/lib/mock/dist-an7-build-34606-16244/root/chroot_tmpdir/scmroot/ruby Cloning into '/var/lib/mock/dist-an7-build-34606-16244/root/chroot_tmpdir/scmroot/ruby'... $ git reset --hard origin/a7 HEAD is now at f0a53cd import ruby-2.0.0.648-36.el7.src.rpm