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] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
dc = diff --cached | |
lg = log -p | |
l = log --graph --decorate --pretty=oneline --abbrev-commit | |
ll = log --pretty=format:'%h : %s' --graph --decorate | |
la = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
ls = ls-files | |
re = rebase | |
com = checkout master | |
rem = rebase master | |
now = diff HEAD | |
stache = stash | |
ss = stash | |
ship = "!f() { set -e; branch=$(git symbolic-ref HEAD); ship=\"master\"; if [ \"$1\" = \"--to\" ]; then ship=\"$2\"; fi; git checkout \"$ship\"; git pull; git checkout \"$branch\"; git rebase \"$ship\"; }; f" | |
[color] | |
ui = auto | |
[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 | |
[core] | |
editor = nano |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment