-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
194 additions
and
1,188 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[core] | ||
excludesfile = ~/.gitignore_global | ||
editor = vim | ||
[push] | ||
default = simple | ||
[color] | ||
diff = auto | ||
status = auto | ||
branch = auto | ||
interactive = auto | ||
ui = true | ||
pager = 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 = cyan | ||
[alias] | ||
a = !git add | ||
aa = !git add . && git add -u . && git status | ||
ac = !git add . && git commit | ||
acm = !git add . && git commit -m | ||
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort | ||
au = !git add -u . && git status | ||
b = branch | ||
br = ls-remote --heads origin # list all remote branches | ||
c = commit | ||
ca = commit --amend # careful | ||
cm = commit -m | ||
d = diff --color-words | ||
dh = diff --color-words HEAD^ | ||
f = fetch | ||
# l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | ||
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | ||
lg = log --color=auto --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | ||
ll = log --stat --abbrev-commit | ||
master = checkout master | ||
p = push | ||
pr-fetch = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f" | ||
pr-deleteall = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" | ||
preview = diff --stat --cached origin/master | ||
s = status | ||
stage = add | ||
u = pull | ||
unstage = reset | ||
uncommit = reset --soft HEAD^ | ||
[include] | ||
path = .gitconfig_user # load user settings. Silently ignored if file not present. | ||
[filter "lfs"] | ||
clean = git-lfs clean -- %f | ||
smudge = git-lfs smudge -- %f | ||
process = git-lfs filter-process | ||
required = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# 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 | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db |
Oops, something went wrong.