$ git clone -n https://gitee.com/src-opencloudos-rpms/linuxconsoletools.git /var/lib/mock/dist-oc9-build-121081-71540/root/chroot_tmpdir/scmroot/linuxconsoletools Cloning into '/var/lib/mock/dist-oc9-build-121081-71540/root/chroot_tmpdir/scmroot/linuxconsoletools'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/linuxconsoletools * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ccf0936 import linuxconsoletools-1.8.1-9.tl4