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