git config and aliases

These are aliases I am used to using on a daily basis now:

(in linux the file is .gitconfig usually under your home folder)



name = Chad Jorgenson

email = chads address


editor = vim


tool = meld


st = status

co = checkout

ci = commit

br = branch

staged = diff --cached

gr = log --graph --full-history --all --color --date=short --pretty=format:\"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%ad %s\"

lo = log --oneline

logshort = log --pretty=short

logfull = log --pretty=full

gonnapush = !sh -c 'git diff --stat origin/$1' -

example = !sh -c 'ls $2 $1' -

wc = whatchanged --color --pretty=format:\"%Cred%h%Creset %cr %Cgreen%s%Creset %Cblue%cn%Creset\"

wc1 = whatchanged --oneline

logauth = log --pretty=format:\"%Cred%h%Creset %cr %Cgreen%s%Creset %Cblue%cn%Creset\"


diff = auto

status = auto

branch = auto


autosetupmerge = true


© 2017 Chad Jorgenson. All Rights Reserved.