$ git clone -n https://gitee.com/src-opencloudos-rpms/tcl.git /var/lib/mock/dist-oc9-build-72118-47643/root/chroot_tmpdir/scmroot/tcl Cloning into '/var/lib/mock/dist-oc9-build-72118-47643/root/chroot_tmpdir/scmroot/tcl'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/tcl * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at edb2eb3 import tcl-8.6.13-2.tl4