$ git clone -n https://gitee.com/alpha-wang/erlang-rebar.git /var/lib/mock/dist-an8-epao-build-420889-72902/root/chroot_tmpdir/scmroot/erlang-rebar Cloning into '/var/lib/mock/dist-an8-epao-build-420889-72902/root/chroot_tmpdir/scmroot/erlang-rebar'... $ git fetch origin 047b4ebcc8533861e762da16ea4bf0fa4bfafcca:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/erlang-rebar * [new ref] 047b4ebcc8533861e762da16ea4bf0fa4bfafcca -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 047b4eb init to 2.1.0