$ git clone -n https://gitee.com/wb-qtt862918/git.git /var/lib/mock/dist-an8.6-build-123179-46000/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an8.6-build-123179-46000/root/chroot_tmpdir/scmroot/git'... $ git reset --hard 05ed579e72582f88f3ee8cc686306c25cb061baa HEAD is now at 05ed579 update to git-2.27.0-1.el8.src.rpm