Add gitconfig and gitignore files
parent
359f49402f
commit
8c9b87d3e6
@ -0,0 +1,26 @@
|
|||||||
|
[core]
|
||||||
|
editor = vim
|
||||||
|
excludesfile = ~/.gitignore
|
||||||
|
[color]
|
||||||
|
branch = auto
|
||||||
|
diff = auto
|
||||||
|
interactive = auto
|
||||||
|
status = auto
|
||||||
|
ui = auto
|
||||||
|
[user]
|
||||||
|
name = Buddy Sandidge
|
||||||
|
email = buddysandidge@gmail.com
|
||||||
|
[alias]
|
||||||
|
br = branch
|
||||||
|
ci = commit
|
||||||
|
co = checkout
|
||||||
|
df = diff
|
||||||
|
st = status
|
||||||
|
p = !git fetch --all && git fetch --tags && git pull && git submodule update
|
||||||
|
sup = submodule update
|
||||||
|
com = checkout master
|
||||||
|
file = show --pretty="format:" --name-only
|
||||||
|
glog = !git log --pretty=oneline | grep
|
||||||
|
dpull = !git svn fetch && git svn rebase
|
||||||
|
dcommit = svn dcommit
|
||||||
|
lg = log --graph --pretty=format:'%Cred%h%Creset %s%Cred%d%Creset %Cgreen(%cr by %cN)%Creset'
|
@ -0,0 +1,33 @@
|
|||||||
|
################################################################################
|
||||||
|
## This global gitignore file is assembled based the github gitignore project:
|
||||||
|
## https://github.com/github/gitignore
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# vim ignores
|
||||||
|
.*.sw[a-z]
|
||||||
|
|
||||||
|
# OS X ignores
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
Icon
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear on external disk
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
|
||||||
|
# Windows ignores
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Python ignores
|
||||||
|
*.py[cod]
|
||||||
|
|
||||||
|
# Compass/sass ignores
|
||||||
|
.sass-cache
|
||||||
|
|
Loading…
Reference in New Issue