$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libiptcdata.git /var/lib/mock/dist-an7-build-31835-15811/root/chroot_tmpdir/scmroot/libiptcdata Cloning into '/var/lib/mock/dist-an7-build-31835-15811/root/chroot_tmpdir/scmroot/libiptcdata'... $ git reset --hard origin/a7 HEAD is now at 0e022f9 import libiptcdata-1.0.4-11.el7.src.rpm