$ git clone -n https://gitee.com/wenyuzifang/protobuf-c.git /var/lib/mock/dist-an23-build-448470-73409/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-an23-build-448470-73409/root/chroot_tmpdir/scmroot/protobuf-c'... $ git fetch origin b2af8aa7d9202c17c3e50520fb0ac0030cf52fb9:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/protobuf-c * [new ref] b2af8aa7d9202c17c3e50520fb0ac0030cf52fb9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b2af8aa Update code from upstream