$ git clone -n https://gitee.com/mgb01105731/erlang-rpm-macros_1.git /var/lib/mock/dist-an23-epao-build-298868-65850/root/chroot_tmpdir/scmroot/erlang-rpm-macros_1 Cloning into '/var/lib/mock/dist-an23-epao-build-298868-65850/root/chroot_tmpdir/scmroot/erlang-rpm-macros_1'... $ git fetch origin 9ad65936c758e82636d6663daba0454ebdb69e51:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/erlang-rpm-macros_1 * [new ref] 9ad65936c758e82636d6663daba0454ebdb69e51 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9ad6593 init upstream from version 0.3.6