|
You are here |
blog.kulman.sk | ||
| | | | |
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... | |
| | | | |
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. | |
| | | | |
blog.bdw.li
|
|
| | | | | Using different machines to work on some git files can result in missing signign keys and some headache. | |
| | | | |
lostfocus.de
|
|
| | | How do you nice people reading my blog handle your Github account(s)? I've had my "main" account @lostfocus for ages and used it for pretty much everything I needed to do on Github. Now with my current employer our accounts are put into the SSO system, so I created a second account which went through ... | ||