git-aliases 325 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
[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'