git stash problem with `port sync'
jonesc at hep.phy.cam.ac.uk
Sat Sep 15 11:04:47 UTC 2018
Mostly likely because the global settings are under your home area, whilst the checkout below is not.
Just go to /opt/macports/macports-ports and set the local settings for that area as well.
Or, move your ports checkout to somewhere in your home area.
> On 15 Sep 2018, at 11:49 am, Werner LEMBERG <wl at gnu.org> wrote:
> 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.
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1910 bytes
Desc: not available
More information about the macports-users