Reputation: 24500
I changed git config file on my working machine.
I changed some code, committed it.
When I come home, how can I pull the config file into my home station?
Upvotes: 1
Views: 1019
Reputation: 14459
The git config
file is inside a repository's .git
folder. This folder is not part of the repository itself. Thus, changes on the config
file will not be commited and pushed and subsequently, you won't be able to acquire it via git pull
.
If you want to have a configuration file that gets shared via your remote repository, take a look at this question.
Upvotes: 1