Created
February 6, 2015 12:02
-
-
Save jalberto/b336237cf5ac3caa268f to your computer and use it in GitHub Desktop.
GIT configuration with some useful aliases
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
# Just drop this file in ~/.gitconfig | |
[user] | |
name = Jose Alberto | |
email = [email protected] | |
[giggle] | |
main-window-view = HistoryView | |
history-view-vpane-position = 501 | |
main-window-maximized = true | |
main-window-geometry = 0x0+0+0 | |
file-view-vpane-position = 581 | |
[core] | |
excludesfile = /home/bass/.gitignore | |
editor = vi -f | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[alias] | |
co = checkout | |
cos = checkout staging | |
com = checkout master | |
ci = commit | |
cia = commit -a | |
smi = submodule init | |
smu = submodule update | |
sm = submodule | |
st = status -sb | |
br = branch | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
sl = stash list --pretty=format:'%Cblue%h %Cred* %C(yellow)%s' | |
df = diff --word-diff | |
sl = stash list | |
sa = stash apply | |
ss = stash save | |
[push] | |
default = current | |
[diff] | |
tool = meld | |
[merge] | |
tool = mymeld | |
conflictstyle = diff3 | |
[difftool] | |
prompt = false | |
[mergetool "mymeld"] | |
cmd = meld "$LOCAL" "$MERGED" "$REMOTE" | |
[help] | |
autocorrect = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment