Skip to content

Commit e13558b

Browse files
Merge pull request mendix#10710 from tknippenberg/patch-61
Clarified Git config levels
2 parents 8989d4f + 8c8bbdb commit e13558b

1 file changed

Lines changed: 19 additions & 4 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: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,28 @@ 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 apps folder:
112+
Several properties of the Git repository can provide you with information useful for troubleshooting different [general](#general-properties) and [configuration](#config-properties) issues. You can view them by executing the commands from the command line in the app's folder.
113113

114-
`git status -b` — provides information on the current state of the repository
114+
#### General {#general-properties}
115115

116-
`git remote -v` — lists the remotes specified for the repository
116+
The following properties provide general information about the repository status and remotes.
117117

118-
`git config --list --show-origin --show-scope` — provides information on user's Git config
118+
* `git status -b` - Provides information on the current state of the repository.
119+
* `git remote -v` - Lists the remotes specified for the repository.
120+
121+
#### Configuration {#config-properties}
122+
123+
Git stores configuration at several levels:
124+
125+
* System - Affects the entire Git installation.
126+
* Global - Affects the current user.
127+
* Local - Affects a specific repository.
128+
129+
More specific configuration overrides more generic configuration (for example, local overrides global). You can inspect the configuration and see where each value is defined by using the following command:
130+
131+
`git config --list --show-origin --show-scope`
132+
133+
This command shows all active configuration values along with the file and scope they come from.
119134

120135
### Cannot Create Package from a Revision{#cannot-create-package}
121136

0 commit comments

Comments
 (0)