$ git clone -n https://src.fedoraproject.org/rpms/erlang.git /var/lib/mock/f41-build-847347-163983/root/chroot_tmpdir/scmroot/erlang Cloning into '/var/lib/mock/f41-build-847347-163983/root/chroot_tmpdir/scmroot/erlang'... $ git fetch origin d9d1e480c904192b3ab6716e04fcd76f511bf32d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/erlang * [new ref] d9d1e480c904192b3ab6716e04fcd76f511bf32d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d9d1e48 Erlang ver. 26.2.5.3