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