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