Skip to content

Instantly share code, notes, and snippets.

@chrisn
Last active August 13, 2024 20:07
Show Gist options
  • Save chrisn/7619693 to your computer and use it in GitHub Desktop.
Save chrisn/7619693 to your computer and use it in GitHub Desktop.

Revisions

  1. chrisn revised this gist Aug 13, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    [alias]
    co = checkout
    st = status
    dif = diff
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
  2. Chris Needham revised this gist Jul 11, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    st = status
    dif = diff
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    wd = diff --word-diff

    [color]
    ui = true
  3. chrisn revised this gist Nov 29, 2013. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -2,3 +2,6 @@
    st = status
    dif = diff
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

    [color]
    ui = true
  4. chrisn revised this gist Nov 23, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    [alias]
    st = status
    dif = diff
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
  5. chrisn created this gist Nov 23, 2013.
    4 changes: 4 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    [alias]
    st = status
    dif = diff
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit