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