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