$ git clone -n https://gitee.com/src-opencloudos-rpms/python-cryptography.git /var/lib/mock/dist-oc8-build-198500-80440/root/chroot_tmpdir/scmroot/python-cryptography Cloning into '/var/lib/mock/dist-oc8-build-198500-80440/root/chroot_tmpdir/scmroot/python-cryptography'... $ git fetch origin c6a5b0f14b35374a44298bf976eb31cf54ff2ed6:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-cryptography * [new ref] c6a5b0f14b35374a44298bf976eb31cf54ff2ed6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c6a5b0f import python-cryptography-3.2.1-8.tl3