$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libgdata.git /var/lib/mock/dist-an7-build-28718-15296/root/chroot_tmpdir/scmroot/libgdata Cloning into '/var/lib/mock/dist-an7-build-28718-15296/root/chroot_tmpdir/scmroot/libgdata'... $ git reset --hard origin/a7 HEAD is now at 1c62aa1 import libgdata-0.17.9-1.el7.src.rpm