$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hexedit.git /var/lib/mock/dist-an7-build-27984-15217/root/chroot_tmpdir/scmroot/hexedit Cloning into '/var/lib/mock/dist-an7-build-27984-15217/root/chroot_tmpdir/scmroot/hexedit'... $ git reset --hard origin/a7 HEAD is now at 824bda1 import hexedit-1.2.13-5.el7.src.rpm