This file contains hidden or 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/bash | |
# git branch-alias | |
# Version 1.07 | |
# Author: Phil S. | |
# Creates branch aliases, so that you can refer to a long branch name | |
# by a convenient short alias. This is just a "do what I mean" wrapper | |
# around git symbolic-ref, but without the (considerable) risk of | |
# trashing a branch if you get your arguments wrong |