Skip to content

Instantly share code, notes, and snippets.

@xelldran1
Forked from VonC/.gitconfig
Created September 24, 2013 20:12
Show Gist options
  • Save xelldran1/6690573 to your computer and use it in GitHub Desktop.
Save xelldran1/6690573 to your computer and use it in GitHub Desktop.

Revisions

  1. @VonC VonC revised this gist Jul 26, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -7,8 +7,8 @@
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches --all
    lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
    lgba = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches --all
    st=status
    br=branch
  2. @VonC VonC revised this gist Dec 8, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .gitconfig
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,9 @@
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches --all
    lga = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgba = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches --all
    st=status
    br=branch
    ignore = update-index --assume-unchanged
  3. @VonC VonC revised this gist Nov 12, 2012. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -12,11 +12,11 @@
    br=branch
    ignore = update-index --assume-unchanged
    unignore = update-index --no-assume-unchanged
    aliases=config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | awk '{printf 033[1;31m 033[0m; =; print bin/bash;}'
    lo=!sh -c 'git log $1' -
    impact=!git ls-files -z | xargs -0n1 git blame -w -C | sed -r 's/^[^(]+\((.*) [0-9]{4}-.*/\1/' | sed -r 's/ +$//' | sort -f | uniq -c | sort -nr
    ; from http://stackoverflow.com/a/11768870/6309
    change-commits=!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter "if [[ $`echo $VAR` = \"$OLD\" ]]; then export $VAR=\"$NEW\"; fi" $@; }; f
    aliases=config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | awk '{printf 033[1;31m 033[0m; =; print bin/bash;}'
    lo=!sh -c 'git log $1' -
    impact=!git ls-files -z | xargs -0n1 git blame -w -C | sed -r 's/^[^(]+\((.*) [0-9]{4}-.*/\1/' | sed -r 's/ +$//' | sort -f | uniq -c | sort -nr
    ; from http://stackoverflow.com/a/11768870/6309
    change-commits=!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter "if [[ $`echo $VAR` = \"$OLD\" ]]; then export $VAR=\"$NEW\"; fi" $@; }; f

    [color]
    ; I want colors!
  4. @VonC VonC revised this gist Nov 12, 2012. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,12 @@
    br=branch
    ignore = update-index --assume-unchanged
    unignore = update-index --no-assume-unchanged
    aliases=config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | awk '{printf 033[1;31m 033[0m; =; print bin/bash;}'
    lo=!sh -c 'git log $1' -
    impact=!git ls-files -z | xargs -0n1 git blame -w -C | sed -r 's/^[^(]+\((.*) [0-9]{4}-.*/\1/' | sed -r 's/ +$//' | sort -f | uniq -c | sort -nr
    ; from http://stackoverflow.com/a/11768870/6309
    change-commits=!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter "if [[ $`echo $VAR` = \"$OLD\" ]]; then export $VAR=\"$NEW\"; fi" $@; }; f

    [color]
    ; I want colors!
    ui = always
  5. @VonC VonC revised this gist Oct 8, 2011. 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
    @@ -7,7 +7,7 @@
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = lg --branches
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    st=status
    br=branch
    ignore = update-index --assume-unchanged
  6. @VonC VonC revised this gist Oct 8, 2011. 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
    @@ -7,7 +7,7 @@
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    lgb = lg --branches
    st=status
    br=branch
    ignore = update-index --assume-unchanged
  7. @VonC VonC revised this gist Oct 8, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,8 @@
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    st=status
    br=branch
    ignore = update-index --assume-unchanged
    unignore = update-index --no-assume-unchanged
    [color]
    ; I want colors!
    ui = always
  8. @VonC VonC revised this gist Aug 6, 2011. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -13,3 +13,8 @@
    [color]
    ; I want colors!
    ui = always
    [github]
    user = VonC
    token = 012345...
    [http]
    sslcainfo = /home/username/.ssh/curl-ca-bundle.crt
  9. @VonC VonC revised this gist Aug 6, 2011. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -4,11 +4,12 @@
    [core]
    ; just making sure those eol's stay as they are
    autocrlf = false
    ; I want colors!
    ui = always
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    st=status
    br=branch
    br=branch
    [color]
    ; I want colors!
    ui = always
  10. @VonC VonC revised this gist Jun 26, 2011. 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
    @@ -5,7 +5,7 @@
    ; just making sure those eol's stay as they are
    autocrlf = false
    ; I want colors!
    core.ui = always
    ui = always
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
  11. @VonC VonC revised this gist Jun 26, 2011. 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
    @@ -9,3 +9,6 @@
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
    lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
    st=status
    br=branch
  12. @VonC VonC revised this gist Jun 18, 2011. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion .gitconfig
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,11 @@
    [user]
    name = vonc
    name = VonC
    email = [email protected]
    [core]
    ; just making sure those eol's stay as they are
    autocrlf = false
    ; I want colors!
    core.ui = always
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
  13. @VonC VonC revised this gist May 14, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@
    name = vonc
    email = [email protected]
    [core]
    ; just making sure those eol's stay as they are
    autocrlf = false
    [alias]
    ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
  14. @VonC VonC created this gist May 14, 2011.
    7 changes: 7 additions & 0 deletions .gitconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    [user]
    name = vonc
    email = [email protected]
    [core]
    autocrlf = false
    [alias]
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative