$ git clone -n https://gitee.com/src-anolis-os/jsoup.git /var/lib/mock/dist-an7-build-61174-33864/root/chroot_tmpdir/scmroot/jsoup Cloning into '/var/lib/mock/dist-an7-build-61174-33864/root/chroot_tmpdir/scmroot/jsoup'... $ git reset --hard origin/a7 HEAD is now at 0ab5af0 import jsoup-1.6.1-10.el7.src.rpm