$ git clone -n https://gitee.com/aixan/python-jsonpatch.git /var/lib/mock/dist-an8.6-build-95633-45467/root/chroot_tmpdir/scmroot/python-jsonpatch Cloning into '/var/lib/mock/dist-an8.6-build-95633-45467/root/chroot_tmpdir/scmroot/python-jsonpatch'... $ git reset --hard 0f37ec5dabde0366cd1cf2c7e62fe9cb23af1cfb HEAD is now at 0f37ec5 import python-jsonpatch-1.21-2.el8.src.rpm