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