git stash problem with `port sync'
Christopher Jones
jonesc at hep.phy.cam.ac.uk
Sat Sep 15 11:04:47 UTC 2018
Hi,
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.
Chris
> On 15 Sep 2018, at 11:49 am, Werner LEMBERG <wl at gnu.org> wrote:
>
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1910 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180915/05aa6e07/attachment.bin>
More information about the macports-users
mailing list