Git - Edit config file :: useful for adding aliases

git config --global --edit
My current list of git aliases

s = status
l = log
co = checkout
cm = !git add -A && git commit -m
save = !git add -A && git commit -m 'Saving work...'
pushprod = !git merge master && git push origin production

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.