projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de40f84
)
a way to know how many commits since branch creation. not optimal as always based...
author
patrick nsukami
<ndkpatt@gmail.com>
Sat, 20 Dec 2014 03:00:10 +0000
(
03:00
+0000)
committer
patrick nsukami
<ndkpatt@gmail.com>
Sat, 20 Dec 2014 03:00:10 +0000
(
03:00
+0000)
.gitconfig
patch
|
blob
|
history
diff --git
a/.gitconfig
b/.gitconfig
index
db2ffe8
..
da5eabe
100644
(file)
--- a/
.gitconfig
+++ b/
.gitconfig
@@
-38,6
+38,8
@@
fix-latest-commit = commit --amend
panic = !tar cvf ../git_panic.tar *
+ current-branch = rev-parse --symbolic-full-name --abbrev-ref HEAD
+ number-of-commits-since-master = "! sh -c 'git log master..`git current-branch` --oneline | wc -l | tr -d \" \"'"
cl = clone
br = branch