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