Hey there!
Want some neat Git aliases?
My favorite is git l
. Oh, and git al
is the mother of all aliases.
[alias]
alias = config --get-regexp alias
al = alias
a = add
aa = add --all
b = branch
bd = branch --delete
bdf = branch --delete --force
bf = branch --force
bm = branch --move
br = branch --remote
bt = branch --track
c = commit
ca = commit --amend
cb = checkout -b
cdate = !echo cmd /v /c \\\"set GIT_COMMITTER_DATE=\\&\\& git ca\\\" && git log -n 1 --format=%aD
ce = config --global --edit
cf = config
co = checkout
cp = cherry-pick
cpn = cherry-pick --no-commit
cpc = cherry-pick --continue
d = diff
ds = diff --staged
f = fetch --prune
fp = format-patch
ignored = !git ls-files -v | grep "^[[:lower:]]"
ign = ignored
ll = log --all --graph --pretty=format:'%C(auto)%<(90,trunc)%s %h%d'
l = ll -20
lm = !git --no-pager log --all --pretty=format:'%ad %h %C(auto)%<(107,trunc)%s' --author=Arundas.Thulasidas --reverse --date=iso8601-local
lr = log --pretty=format:'%C(auto)%s%d' --reverse
m = merge
man = help
mf = merge --ff-only
mn = merge --no-ff
p = push
pb = push --set-upstream origin
pd = push origin --delete
pl = pull --ff-only
pr = !git push origin HEAD:\"$1\" && echo Pushed without tracking to
rb = rebase --committer-date-is-author-date
rs = restore --staged
rv = remote -v
s = status --short
st = status
sw = switch
t = log --oneline --decorate --tags --no-walk
uia = update-index --assume-unchanged
uin = update-index --no-assume-unchanged
I don’t have anything else here at the moment.
Why don’t you head on over to my blog and read some posts?