Skip to content

Instantly share code, notes, and snippets.

@jcrosen
Created February 1, 2013 00:29
Show Gist options
  • Save jcrosen/4688082 to your computer and use it in GitHub Desktop.
Save jcrosen/4688082 to your computer and use it in GitHub Desktop.

Revisions

  1. jcrosen created this gist Feb 1, 2013.
    11 changes: 11 additions & 0 deletions my git aliases
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    [alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    cob = checkout -b
    com = checkout master
    df = diff
    l = log -p --graph --abbrev-commit --decorate
    lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
    lsd = log --graph --decorate --pretty=oneline --abbrev-commit --all