$ git clone -n https://gitee.com/wenyuzifang/python-gmpy2.git /var/lib/mock/dist-an23-build-486424-74383/root/chroot_tmpdir/scmroot/python-gmpy2 Cloning into '/var/lib/mock/dist-an23-build-486424-74383/root/chroot_tmpdir/scmroot/python-gmpy2'... $ git fetch origin 21cb02fadc97d3d7da8c51e55c9707482504406d:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-gmpy2 * [new ref] 21cb02fadc97d3d7da8c51e55c9707482504406d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21cb02f Update code from upstream