|
You are here |
stevenhicks.me | ||
| | | | |
zzamboni.org
|
|
| | | | | via http://www.codinginahurry.com/2011/02/05/three-levels-of-git-config/ Very nice explanation, viacoding in a hurry There are 3 levels of git config; project, global and system. project: Project configs are only available for the current project and stored in .git/config in the project's directory. global: Global configs are available for all projects for the current user and stored in ~/.gitconfig. system: System configs are available for all the users/projects and stored in /etc/gitconfig. Create a pr... | |
| | | | |
garrit.xyz
|
|
| | | | | Generalist software developer writing about scalable infrastructure, fullstack development and DevOps practices. | |
| | | | |
jinyuz.dev
|
|
| | | | | Suppose that you have a full time job at Amazon, and you want to separate your git commit emails from Amazon and your personal projects. Setting up ~/.gitconfig $ touch ~/.gitconfig For our personal projects, we will use the ~/.gitconfig file with the following content: [user] name = James Banned email = james.banned@gmail.com [includeIf "gitdir:~/Work/"] path = ~/.gitconfig.work The includeIf basically means that include this config if I'm inside the ~/Work/ directory. | |
| | | | |
jdsalaro.com
|
|
| | | It's been awhile since I've setup my last work ... | ||