Last active
November 10, 2016 18:43
-
-
Save jaredatron/ff0cccaa88177ce188acd1dc19b497fb to your computer and use it in GitHub Desktop.
Jareds .gitconfig setup (all files in home directory)
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
[alias] | |
l = log --oneline --decorate --graph --relative-date --show-signature | |
sl = !git l -20 | |
ll = log --decorate --graph | |
st = status --short --branch | |
co = checkout | |
ci = commit | |
br = branch | |
bd = branch-details | |
dt = difftool | |
dtc = difftool --cached | |
man = help | |
amend = !git ci --amend -C HEAD | |
amendall = !git add . && git ci --amend -C HEAD | |
ls-untracked-files = !git-ls-files -o --exclude-standard | |
ls-ignored-files = !git-ls-files --others -i --exclude-standard | |
ls-modified-files = !git-ls-files -m | |
timeline = !git log --graph --branches --pretty=oneline | |
wip = !git add -A && git ci -m WIP && git log -1 || git log -1 | |
[color] | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
ui = auto | |
pager = true | |
[color "status"] | |
added = green | |
changed = yellow | |
untracked = red | |
[user] | |
name = Your Name Here | |
email = your@email.here | |
[core] | |
excludesfile = ~/.gitignore | |
autocrlf = false | |
pager = less -F -X | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[apply] | |
whitespace = fix | |
[push] | |
default = tracking | |
[branch] | |
autosetuprebase = always | |
autosetupmerge = true | |
[mergetool "diffmerge"] | |
cmd = diffmerge --merge --result=$MERGED $LOCAL $BASE $REMOTE | |
trustExitCode = false | |
[rebase] | |
autosquash = true | |
[rerere] | |
enabled = true | |
autoupdate = true | |
[help] | |
autocorrect = 20 | |
[diff] | |
renames = copies | |
mnemonicprefix = true | |
[difftool] | |
prompt = false | |
[mergetool] | |
prompt = false | |
[merge] | |
stat = true | |
[help] | |
autocorrect = 1 |
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
# Numerous always-ignore extensions | |
*.diff | |
*.err | |
*.log | |
*.orig | |
*.rej | |
*.swo | |
*.swp | |
*.vi | |
*.zip | |
*~ | |
# OS or Editor folders | |
._* | |
.cache | |
.DS_Store | |
.idea | |
.project | |
.settings | |
.tmproj | |
*.esproj | |
*.sublime-project | |
*.sublime-workspace | |
.irb-save-history | |
.pairs | |
.tags | |
.tags_sorted_by_file | |
.irb-save-history | |
.gems | |
.bin | |
.tags | |
.tags_sorted_by_file | |
.apdisk | |
.DS_Store | |
.sass-cache | |
.fseventsd | |
.bundle | |
chromedriver.log | |
.pryrc | |
.irbrc | |
libpeerconnection.log | |
.irb-save-history | |
.eslintcache | |
.scss-lint-cache | |
# Folders to ignore | |
bower_components | |
node_modules | |
.sass-cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment