$ git clone -n https://src.fedoraproject.org/rpms/ghc-colourista.git /var/lib/mock/f41-build-839407-160145/root/chroot_tmpdir/scmroot/ghc-colourista Cloning into '/var/lib/mock/f41-build-839407-160145/root/chroot_tmpdir/scmroot/ghc-colourista'... $ git fetch origin f11683a6f1f34f00f04e2e246c88562a38f55091:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-colourista * [new ref] f11683a6f1f34f00f04e2e246c88562a38f55091 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f11683a revise .cabal file