$ git clone -n https://src.fedoraproject.org/rpms/angelfish.git /var/lib/mock/f41-build-1290447-23344/root/chroot_tmpdir/scmroot/angelfish Cloning into '/var/lib/mock/f41-build-1290447-23344/root/chroot_tmpdir/scmroot/angelfish'... $ git fetch origin 5e6f7fc275cf1031e8930746818a25354f167cf2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/angelfish * [new ref] 5e6f7fc275cf1031e8930746818a25354f167cf2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5e6f7fc 24.05.1