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