$ git clone -n https://src.fedoraproject.org/rpms/ghc-cryptohash-md5.git /var/lib/mock/f41-build-839492-160201/root/chroot_tmpdir/scmroot/ghc-cryptohash-md5 Cloning into '/var/lib/mock/f41-build-839492-160201/root/chroot_tmpdir/scmroot/ghc-cryptohash-md5'... $ git fetch origin 02f76fc1a2a2a354c96d084506f1f946e6007d1a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-cryptohash-md5 * [new ref] 02f76fc1a2a2a354c96d084506f1f946e6007d1a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 02f76fc refresh .cabal revision