$ git clone -n https://gitee.com/src-opencloudos-rpms/GitPython.git /var/lib/mock/dist-oc8-build-80842-54102/root/chroot_tmpdir/scmroot/GitPython Cloning into '/var/lib/mock/dist-oc8-build-80842-54102/root/chroot_tmpdir/scmroot/GitPython'... $ git fetch origin b2962a167a76c68cc3994abe474723cb4f168150:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/GitPython * [new ref] b2962a167a76c68cc3994abe474723cb4f168150 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b2962a1 import GitPython-3.1.11-1.tl3.1