Created
April 10, 2018 02:56
-
-
Save MatthewVance/62cffa0ba9aecaaef2b4af1e3f0bbd24 to your computer and use it in GitHub Desktop.
Customized git settings
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
[user] | |
name = Matthew Vance | |
email = [email protected] | |
[core] | |
autocrlf = input | |
editor = nano | |
excludesfile = /home/pi/.gitignore_global | |
[alias] | |
# basic | |
br = branch | |
ci = commit | |
co = checkout | |
dump = cat-file -p | |
st = status | |
type = cat-file -t | |
# commit | |
cm = commit -m | |
# log commands | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
# colors - hat tip: http://michaelwales.com/articles/make-gitconfig-work-for-you/ | |
[color] | |
ui = true | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = red |
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
# Save file to ~ as .gitignore_global | |
# https://help.github.com/articles/ignoring-files/ | |
# Run the following after creating the file to add this to the global git config | |
# git config --global core.excludesfile ~/.gitignore_global | |
# Created by http://www.gitignore.io | |
### OSX ### | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
# Files that might appear on external disk | |
.Spotlight-V100 | |
.Trashes | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
### Windows ### | |
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini | |
# Recycle Bin used on file shares | |
$RECYCLE.BIN/ | |
# Windows Installer files | |
*.cab | |
*.msi | |
*.msm | |
*.msp | |
# Derived from https://gist.github.com/octocat/9257657 | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # | |
############ | |
# it's better to unpack these files and commit the raw source | |
# git has its own built in compression methods | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment