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