Last active
March 30, 2021 19:55
-
-
Save kalenjordan/7186920f28d3c3696dd2aa2265c2460e to your computer and use it in GitHub Desktop.
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