Created
March 21, 2021 07:21
-
-
Save rahogata/0ce7b016a90c3ce7f7a916a3667d65fd to your computer and use it in GitHub Desktop.
Git configuration files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.gitconfig | |
# Simple git configuration with global ignore file. | |
[user] | |
name = rahogata.* | |
email = rahogata.*@**.com | |
useConfigOnly = true | |
[core] | |
excludesfile = /home/rahogata/.gitignore_global | |
editor = vi | |
[push] | |
default = simple | |
[init] | |
templateDir = | |
# ~/.gitignore_global | |
# Global ignore file. | |
.classpath | |
.project | |
.settings/ | |
build/ | |
bin/ | |
*.log | |
.gradle/ | |
# ~/.ssh/config | |
# Multiple git user's ssh key support. For this to work host name in git url must be one of below. | |
# git remote set-url origin [email protected]:rahogata/Tech-Notes.git | |
Host me.github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/github_rsa | |
Host work.github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/office_rsa | |
Host gitlab.com | |
HostName gitlab.com | |
User git | |
IdentityFile ~/.ssh/office_rsa | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment