jesseduffield / lazygit

simple terminal UI for git commands
MIT License
51.38k stars 1.8k forks source link

how to change email when the automatic default is wrong? #3604

Closed Ryder17z closed 3 months ago

Ryder17z commented 4 months ago

Topic I'm not finding a way to do this

Your thoughts There should be a command or something to address the issue

mark2185 commented 4 months ago

Email of what? If it's the git commits author's address, check your git config.

Ryder17z commented 4 months ago

Email of what? If it's the git commits author's address, check your git config.

yes? I had a brief look through the .git folder but didn't spot it in a file there

AzraelSec commented 4 months ago

You don't need to look for any specific file to change it. Running git config user.email "name@domain.com" is enough (or setting it as a global config adding a --global flag).

Ryder17z commented 4 months ago

You don't need to look for any specific file to change it. Running git config user.email "name@domain.com" is enough (or setting it as a global config adding a --global flag).

Perfect

AzraelSec commented 4 months ago

@Ryder17z can we consider this issue as solved and close it?

Ryder17z commented 3 months ago

Sorry I forgot.