Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks a lot! This works for me! For those who are new to this like me and wondering where/how to update .git/config, here it is: git config --edit Commented Aug 22, 2023 at 14:51
  • 1
    @ZoeL: I suppose git config --edit works, but FWIW, I just do nano .git/config. :) The config file for a given checkout/repo is always stored in a file named $ROOT_OF_MY_CHECKOUT/.git/config. Commented Aug 28, 2023 at 1:34