We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a67f444 commit 494e832Copy full SHA for 494e832
gitalias.txt
@@ -107,6 +107,9 @@
107
# branch - edit the description
108
be = branch --edit-description
109
110
+ # list branches along with their description
111
+ br = !"f(){(git branch -v \"${@}\"|sed 's/\\(.\\) \\([^ ]*\\)\\(.*\\)/\\2\\1 \\3/'&&git config --get-regexp ^branch.*description|sed '/^$/d;s/^branch\\.\\([^ ]*\\)\\.description /\\1# /')|sort -h;};f"
112
+
113
# branch and only list branches whose tips are reachable from the specified commit (HEAD if not specified).
114
bm = branch --merged
115
0 commit comments