$ git clone -n https://src.fedoraproject.org/rpms/erlang-skerl.git /var/lib/mock/f41-build-811232-147301/root/chroot_tmpdir/scmroot/erlang-skerl Cloning into '/var/lib/mock/f41-build-811232-147301/root/chroot_tmpdir/scmroot/erlang-skerl'... $ git fetch origin 865465c4933aee5a7f2aed53abd9c0c15b8d49b2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/erlang-skerl * [new ref] 865465c4933aee5a7f2aed53abd9c0c15b8d49b2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 865465c More macros