$ git clone -n https://gitee.com/src-opencloudos-rpms/ucpp.git /var/lib/mock/dist-oc8-build-72557-47871/root/chroot_tmpdir/scmroot/ucpp Cloning into '/var/lib/mock/dist-oc8-build-72557-47871/root/chroot_tmpdir/scmroot/ucpp'... $ git fetch origin f49311f2e65dea7122621afd8b2d2618ff2a5991:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ucpp * [new ref] f49311f2e65dea7122621afd8b2d2618ff2a5991 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f49311f import ucpp-1.3.4-11.tl3