$ git clone -n https://gitee.com/zhonglingh/python-sh.git /var/lib/mock/dist-an23-build-243821-63157/root/chroot_tmpdir/scmroot/python-sh Cloning into '/var/lib/mock/dist-an23-build-243821-63157/root/chroot_tmpdir/scmroot/python-sh'... $ git reset --hard 7f5d656fdcf37baa1e013c1e9fd5e26b2ebedb79 HEAD is now at 7f5d656 Init package from upstream