$ git clone -n https://src.fedoraproject.org/rpms/happy.git /var/lib/mock/f40-build-742983-111007/root/chroot_tmpdir/scmroot/happy Cloning into '/var/lib/mock/f40-build-742983-111007/root/chroot_tmpdir/scmroot/happy'... $ git fetch origin 73013c4de32ca5de48be22a0f6f7f65285fbaa32:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/happy * [new ref] 73013c4de32ca5de48be22a0f6f7f65285fbaa32 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 73013c4 https://hackage.haskell.org/package/happy-1.20.1.1/changelog