diff options
author | Max Christian Pohle | 2023-10-20 17:39:30 +0200 |
---|---|---|
committer | Max Christian Pohle | 2023-10-20 17:39:30 +0200 |
commit | 7443eb6e3889e2fca9bc3bdcefd7569590f8f2a2 (patch) | |
tree | ee6b2e99d022e487636c1b9b8f092e615014deb8 /doc | |
parent | dd2623b7ce5f00ef9b1728efeef4538fd47a0d31 (diff) | |
download | vim-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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git.txt | 2 |
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 @@ | |||
1 | GIT_PAGER=less git config --list | awk 'match($0, "submodule.(.*).url=(.*)",q){ system("echo git submodule add " q[2] " " q[1]) }' | 1 | GIT_PAGER=less git config --list | awk 'match($0, "submodule.(.*).url=(.*)",q){ system("echo git submodule add " q[2] " " q[1]) }' |
2 | |||
3 | branchvv = 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 | ||