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