You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I use git at work where the global ~/.gitconfig has a user.email of, let's say, [email protected].
I also use a personal github repo with all my dotfiles where all commits need a user.email of, let's say [email protected]. I have set the /repo/.git/config in this repo to a user.email of [email protected].
I find when I open this repo in atom, with github enabled, it resets my globaluser.email to [email protected], which is a huge inconvenience since I have to manually change it back every time I open this local repo.
When github is disabled, this doesn't happen.
Steps to Reproduce
Set your global user.email to one email address with git config --global user.email [email protected]
Set the local user.email to a different email address when the working dir is that repo with git config user.email [email protected]
Open the repo with atom .
View your global .gitconfig with less ~/.gitconfig — the user.email will now be [email protected].
Expected behavior:
There should be no change to the global .gitconfig, regardless of what the repo's git config is set to
Duplicate of #2622 and #2557 and probably a few others that I can't find right now. Already fixed by #2587. The latest package version lets you choose explicitly:
Try switching to Atom Nightly if you want this behavior sooner rather than later!
Description
I use git at work where the global
~/.gitconfig
has auser.email
of, let's say, [email protected].I also use a personal github repo with all my dotfiles where all commits need a
user.email
of, let's say [email protected]. I have set the/repo/.git/config
in this repo to auser.email
of [email protected].I find when I open this repo in atom, with github enabled, it resets my global
user.email
to [email protected], which is a huge inconvenience since I have to manually change it back every time I open this local repo.When github is disabled, this doesn't happen.
Steps to Reproduce
user.email
to one email address withgit config --global user.email [email protected]
user.email
to a different email address when the working dir is that repo withgit config user.email [email protected]
atom .
less ~/.gitconfig
— the user.email will now be [email protected].Expected behavior:
There should be no change to the global .gitconfig, regardless of what the repo's git config is set to
Actual behavior:
Global git config user.email is changed
Reproduces how often:
100%
Versions
github 0.36.2
Atom : 1.54.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.54.0
python 2.7.15
git 2.29.2
macOS 10.15.7
The text was updated successfully, but these errors were encountered: