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