$ git clone -n https://src.fedoraproject.org/rpms/ghc-bugzilla-redhat.git /var/lib/mock/f39-build-1930545-43110/root/chroot_tmpdir/scmroot/ghc-bugzilla-redhat Cloning into '/var/lib/mock/f39-build-1930545-43110/root/chroot_tmpdir/scmroot/ghc-bugzilla-redhat'... $ git fetch origin 46a1949a8c1002bf324cb4e969d1c079ed0ee226:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-bugzilla-redhat * [new ref] 46a1949a8c1002bf324cb4e969d1c079ed0ee226 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 46a1949 revised .cabal file