$ git clone -n https://gitee.com/wency_cn/python-cryptography.git /var/lib/mock/dist-an23-build-492894-74562/root/chroot_tmpdir/scmroot/python-cryptography Cloning into '/var/lib/mock/dist-an23-build-492894-74562/root/chroot_tmpdir/scmroot/python-cryptography'... $ git fetch origin 07e5b3195e59ebe5009fd59f3f6406c6b86f8b31:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/python-cryptography * [new ref] 07e5b3195e59ebe5009fd59f3f6406c6b86f8b31 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 07e5b31 Update code from upstream