aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2023-10-20 17:39:30 +0200
committerMax Christian Pohle2023-10-20 17:39:30 +0200
commit7443eb6e3889e2fca9bc3bdcefd7569590f8f2a2 (patch)
treeee6b2e99d022e487636c1b9b8f092e615014deb8
parentdd2623b7ce5f00ef9b1728efeef4538fd47a0d31 (diff)
downloadvim-7443eb6e3889e2fca9bc3bdcefd7569590f8f2a2.tar.bz2
vim-7443eb6e3889e2fca9bc3bdcefd7569590f8f2a2.zip
Added the branchvv alias to git.txt
Which looks similar to `git branch -v`, but adds the last modification timestamp to each branch.
-rw-r--r--doc/git.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/git.txt b/doc/git.txt
index 800210e..517f998 100644
--- a/doc/git.txt
+++ b/doc/git.txt
@@ -1 +1,3 @@
1GIT_PAGER=less git config --list | awk 'match($0, "submodule.(.*).url=(.*)",q){ system("echo git submodule add " q[2] " " q[1]) }' 1GIT_PAGER=less git config --list | awk 'match($0, "submodule.(.*).url=(.*)",q){ system("echo git submodule add " q[2] " " q[1]) }'
2
3branchvv = for-each-ref --sort='committerdate:raw' --format='%(HEAD)%(if)%(HEAD)%(then)%(color:bold green)%(end) %(align:width=24)%(refname:short)%(end) %(objectname:short) %(color:bold blue)%(committerdate:iso)%(color:reset) %(if)%(upstream)%(then)[%(color:blue)%(upstream:short)%(color:reset)] %(end)%(subject)' refs/heads
..