Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 610 Bytes

README.md

File metadata and controls

23 lines (21 loc) · 610 Bytes

Git

Aliases

  • st : status -sbuno
  • br : branch
  • d : diff
  • ds : diff --staged
  • dw : diff --color-words
  • dws: diff --staged --color-words
  • dsw: diff --staged --color-words
  • dt : difftool
  • a : add
  • ap : add -p
  • ci : commit
  • cci: commit -c HEAD
  • co : checkout
  • rh : reset HEAD
  • rhh: reset HEAD --hard
  • lg : log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %ar)%Creset'
  • las: log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %ar)%Creset' -n 1
  • g : grep -n
  • pfl: push --force-with-lease