Skip to content

Commit

Permalink
Simplify branch printing aliases#
Browse files Browse the repository at this point in the history
The branch printing aliases "b" and the extended aliases "bum" and "bm"
have been simplified by removing unnecessary flags.

* The "--list" flag should be used to list branches matching a specific pattern
* The "-v"/"-vv"/"--verbose" flags which shows the commit SHA1 and subject
  line after each branch has been removed

GH-25
  • Loading branch information
arcticicestudio committed Aug 2, 2017
1 parent 7c1dc3c commit f138623
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions snowblocks/git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -331,25 +331,21 @@
#
# Usage:
# git b
# Output Format:
# <BRANCH> <ABBREVIATED SHA1> <COMMIT MESSAGE>
b = branch --list --all -v
b = branch --all

# Prints only branches that have not been merged yet into the specified branch.
# If no BRANCH is specified, the current branch is used by default.
#
# Usage:
# git bum <BRANCH>
# Output Format:
# <BRANCH> <ABBREVIATED SHA1> <COMMIT MESSAGE>
bum = branch --all --list --verbose --no-merged
# git bum [BRANCH]
bum = branch --all --no-merged

# Prints only branches that have been merged into the specified branch.
# If no BRANCH is specified, the current branch is used by default.
#
# Usage:
# git bm <BRANCH>
# Output Format:
# <BRANCH> <ABBREVIATED SHA1> <COMMIT MESSAGE>
bm = branch --all --list --verbose --merged
# git bm [BRANCH]
bm = branch --all --merged

# +-------------------+
# + Information - Log +
Expand Down

0 comments on commit f138623

Please sign in to comment.