$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libepoxy.git /var/lib/mock/dist-an7-build-28701-15294/root/chroot_tmpdir/scmroot/libepoxy Cloning into '/var/lib/mock/dist-an7-build-28701-15294/root/chroot_tmpdir/scmroot/libepoxy'... $ git reset --hard origin/a7 HEAD is now at 883ed17 import libepoxy-1.5.2-1.el7.src.rpm