Skip to content

Commit

Permalink
add prettylog git command and remove sourcetree as a difftool
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Stone authored and thepeterstone committed Jun 13, 2024
1 parent 1fd5470 commit 5d3291c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dot-files/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
email = [email protected]

[core]
excludesfile = ~/.cvsignore
excludesfile = $HOME/.cvsignore
autocrlf = input

[alias]
blog="log origin/master... --left-right"
Expand All @@ -28,6 +29,7 @@
sur="submodule update --init --recursive"
unstage="reset HEAD"
pr = "!f() { git fetch $1 refs/pull-requests/$2/merge:pr-$2; git checkout pr-$2; } ; f"
prettylog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'

[color]
interactive = always
Expand Down

0 comments on commit 5d3291c

Please sign in to comment.