git stash problem with `port sync'

Werner LEMBERG wl at gnu.org
Sat Sep 15 10:49:10 UTC 2018


Folks,


after doing various network hacks, calling `port -d sync' now fails.

  --->  Updating the ports tree
  Synchronizing local ports tree from file:///opt/macports/macports-ports
  DEBUG: /opt/local/bin/git pull --rebase --autostash
  DEBUG: system -W /opt/macports/macports-ports: /opt/local/bin/git pull --rebase --autostash

  *** Please tell me who you are.

  Run

    git config --global user.email "you at 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 '... at ...')
  Cannot save the current index state
  Cannot autostash
  Command failed: /opt/local/bin/git pull --rebase --autostash
  Exit code: 1

Note that I already have set user name and e-mail adress globally, but
the error persists.  Manually calling `git stash' works also just fine.

Any ideas how to solve this?


    Werner


More information about the macports-users mailing list