$ git clone -n https://src.fedoraproject.org/rpms/cabal-rpm.git /var/lib/mock/f40-build-745060-111932/root/chroot_tmpdir/scmroot/cabal-rpm Cloning into '/var/lib/mock/f40-build-745060-111932/root/chroot_tmpdir/scmroot/cabal-rpm'... $ git fetch origin 5896ead72d47582a06da5e3c8538a1eb719daec2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cabal-rpm * [new ref] 5896ead72d47582a06da5e3c8538a1eb719daec2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5896ead https://hackage.haskell.org/package/cabal-rpm-2.1.4/changelog