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