$ git clone -n https://gitee.com/src-opencloudos-rpms/libecap.git /var/lib/mock/dist-oc9-build-70305-47416/root/chroot_tmpdir/scmroot/libecap Cloning into '/var/lib/mock/dist-oc9-build-70305-47416/root/chroot_tmpdir/scmroot/libecap'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libecap * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c232e32 import libecap-1.0.1-4.tl4