$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libexif.git /var/lib/mock/dist-an7-build-31735-15793/root/chroot_tmpdir/scmroot/libexif Cloning into '/var/lib/mock/dist-an7-build-31735-15793/root/chroot_tmpdir/scmroot/libexif'... $ git reset --hard origin/a7 HEAD is now at 2a88374 import libexif-0.6.21-6.el7.src.rpm