User Tools

Site Tools


work:gitusage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
work:gitusage [2016/02/22 10:48] – [Adding Useful Aliases] alunwork:gitusage [2022/01/31 10:46] (current) alunwcom
Line 148: Line 148:
  
 ==== Adding Useful Aliases ==== ==== Adding Useful Aliases ====
 +
 +31-Jan-2022: Work laptop aliases:
 +  [alias]
 +    co = checkout
 +    st = status
 +    lg = log --graph --all --pretty=format:'%C(red)%h%C(reset) %C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --
 +    lgc = log --graph --pretty=format:'%C(red)%h%C(reset) %C(blue)%cN%C(reset):%C(yellow)%d%Creset %s %Cgreen(%cd, %cr)%Creset' --abbrev-commit --
 +    lgf = log --graph --all --pretty=format:'%C(red)%h%C(reset) %C(blue)%cN%C(reset):%C(yellow)%d%Creset %s %Cgreen(%cd, %cr)%Creset' --abbrev-commit --
  
 Currently adding short status alias, and pretty log alias: Currently adding short status alias, and pretty log alias:
work/gitusage.1456138127.txt.gz · Last modified: by alun

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki