GIT Config
Command git config --list --show-origin
shows all settings from all levels and the origin of the setting. If we do not need the origin, we can skip the last parameter and only use git config --list
.
Command git config --global --edit
opens config in the editor.
On Windows, it is useful to set Notepad++ as the text editor with the following parameters: [core] editor = \"C:\\\\Program Files\\\\Notepad++\\\\notepad++.exe\" -multiInst -notabbar -nosession -noPlugin
This way, the editor will open a new instance of Notepad++. Of course, a prerequisite for the above command to work is to have Notepad++ installed.
- Previous: GIT Committed to the wrong branch
- Next: GIT Create branch from a tag