$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libtiff.git /var/lib/mock/dist-an7-build-32035-15877/root/chroot_tmpdir/scmroot/libtiff Cloning into '/var/lib/mock/dist-an7-build-32035-15877/root/chroot_tmpdir/scmroot/libtiff'... $ git reset --hard origin/a7 HEAD is now at 88b62f4 import libtiff-4.0.3-32.el7.src.rpm