Created
October 29, 2014 18:18
-
-
Save evincarofautumn/ee6b5c4e62a3626a6f82 to your computer and use it in GitHub Desktop.
Show git branch description
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -ne 1 ]; then | |
echo 'Usage: git-branch-description <branch name>' >&2 | |
exit 1 | |
fi | |
EDITOR='cat' git branch --edit-description "$1" | grep -v '^#' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment