Skip to content

Commit 6bfb845

Browse files
authored
Clarified Git config levels
Added additional details about Git configuration levels and clarified command usage for troubleshooting.
1 parent a811a23 commit 6bfb845

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

  • content/en/docs/refguide/version-control/version-control-troubleshooting

content/en/docs/refguide/version-control/version-control-troubleshooting/_index.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,29 @@ When filing a Git support issue with Mendix Support, attach the log files by doi
109109
The properties described below might contain personal information. We advise you to make sure that all the private information is removed before sharing them.
110110
{{% /alert %}}
111111

112-
There are properties of the Git repository that provide you with information useful for troubleshooting different issues. Execute the following using the command line in the app’s folder:
112+
There are properties of the Git repository that provide you with information useful for troubleshooting different issues. Execute the following using the command line in the app’s folder.
113+
114+
#### General
113115

114116
`git status -b` — provides information on the current state of the repository
115117

116118
`git remote -v` — lists the remotes specified for the repository
117119

118-
`git config --list --show-origin --show-scope` — provides information on user's Git config
120+
#### Configuration
121+
122+
Git stores configuration at several levels:
123+
124+
* System: affects the entire Git installation
125+
* Global: affects the current user
126+
* Local: affects a specific repository
127+
128+
More specific configuration overrides more generic configuration (for example, local overrides global).
129+
130+
You can inspect the full effective configuration and see where each value is defined using:
131+
132+
`git config --list --show-origin --show-scope`
133+
134+
This command shows all active configuration values along with the file and scope they come from.
119135

120136
### Cannot Create Package from a Revision{#cannot-create-package}
121137

0 commit comments

Comments
 (0)