Last active
May 8, 2024 09:36
-
-
Save bitboxer/f98195bb1bac3bb0babf to your computer and use it in GitHub Desktop.
Open tower in current directory
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
# opens the current git repo in tower if no argument is given | |
tower() { | |
if [[ "$#" > 0 ]]; then | |
gittower $@ | |
else | |
gittower `git rev-parse --show-toplevel` | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment