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