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