Commit fae29e44 authored by Chris Bills's avatar Chris Bills

Add some example git aliases

parent 27d29edf
[alias]
co = checkout
last = log -1 HEAD
unstage = reset HEAD --
ls = ls-tree --full-name --name-only -r HEAD
vis = log --graph --decorate --oneline --all
today = log --since "yesterday"
squash = "!_git_squash() { git rebase -i HEAD~$1; }; _git_squash"
stashed = stash list --pretty=format:'%gd: %h [%ar] %s'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment