$ git clone -n https://gitee.com/src-anolis-epao/erlang-rebar.git /var/lib/mock/dist-an23-epao-build-299903-65901/root/chroot_tmpdir/scmroot/erlang-rebar Cloning into '/var/lib/mock/dist-an23-epao-build-299903-65901/root/chroot_tmpdir/scmroot/erlang-rebar'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-epao/erlang-rebar * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 523a088 init upstream from version 2.6.1