Skip to content

Instantly share code, notes, and snippets.

@benjaesq
Created October 17, 2023 18:03
Show Gist options
  • Save benjaesq/d81a3d14669ce56f895419c38395d91c to your computer and use it in GitHub Desktop.
Save benjaesq/d81a3d14669ce56f895419c38395d91c to your computer and use it in GitHub Desktop.

Revisions

  1. benjaesq created this gist Oct 17, 2023.
    10 changes: 10 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    [alias]
    aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
    br = branch
    bra = branch -a
    cam = commit --amend
    casv = commit -asv
    co = checkout
    cob = checkout -b
    lo = log --oneline
    scs = show --compact-summary