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