Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Git commit error with missing username #8

Closed
jotrk opened this Issue · 1 comment

2 participants

@jotrk

As reported for gitit, here's the actual issue with FileStore.

$ ghc-pkg list filestore
/usr/lib/ghc-7.6.2/package.conf.d
/usr/local/cabal/.ghc/x86_64-linux-7.6.2/package.conf.d/
filestore-0.6
$ git --version
git version 1.8.1.5
Prelude Data.FileStore> let fs = (gitFileStore "/tmp/test") 
Prelude Data.FileStore> initialize fs
Prelude Data.FileStore> create (gitFileStore "/tmp/test") "/tmp/test/test.txt" (Author "foo" "bar") "description" "content"

*** Exception: UnknownError: Could not git commit /tmp/test/test.txt

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'jrk@pluto.(none)')
@jgm
Owner

Fixed by 0772638

@jgm jgm closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.