Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Show author date in git log aliases

  • Loading branch information...
commit 1fd41213ecefc77bf2a603145a37653e65bfce72 1 parent ddc73e3
@caio authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 gitconfig
View
6 gitconfig
@@ -10,9 +10,9 @@
st = status -sb
br = branch -v
nb = checkout -b
- lo = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative
- la = log --graph --all --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative
- lw = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative --since 'last week'
+ lo = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%ar)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative
+ la = log --graph --all --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%ar)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative
+ lw = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%ar)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative --since 'last week'
report = log --no-merges --since='30 days ago' --author caio --pretty=format:'%Cgreen(%ci) %Creset%s'
unstage = reset HEAD --
revname = name-rev --name-only --refs=refs/heads/*
Please sign in to comment.
Something went wrong with that request. Please try again.