$ git clone -n https://gitee.com/src-anolis-os/erlang.git /var/lib/mock/dist-an8-epao-build-420839-72895/root/chroot_tmpdir/scmroot/erlang Cloning into '/var/lib/mock/dist-an8-epao-build-420839-72895/root/chroot_tmpdir/scmroot/erlang'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/erlang * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 960c393 update to erlang-22.0.7