Reputation: 4940
I have GIT 2.11 version. I have read push.default
default value is simple
. When I do git config --list
I don't see any push.default
there. Why ? How can I see this value ? Does that mean it is unset ? I installed GIT in mac os sierra.
Upvotes: 1
Views: 52
Reputation: 94502
push.default
default value is simple
. That is if not overridden in config it is assumed by git
to be simple
. See https://git-scm.com/docs/git-config#git-config-pushdefault
Upvotes: 2
Reputation: 1289
The results from git config --list
will depend on your current repository. It returns the values from the system, global and repository local configuration.
You can view the all config values and where they're set using:
git config --list --show-origin
If you don't see it, then it hasn't been configured and you're using the default value.
Upvotes: 1