$ git clone -n https://gitee.com/src-opencloudos-rpms/tracer /var/lib/mock/dist-oc8-build-74786-51301/root/chroot_tmpdir/scmroot/tracer Cloning into '/var/lib/mock/dist-oc8-build-74786-51301/root/chroot_tmpdir/scmroot/tracer'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tracer * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 11ce911 import tracer-1.1-1.tl3