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