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