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
# add this to your .bashrc or .aliases or .zshrc | |
ship() { | |
if [ $# -eq 0 ]; then | |
message="improvement" # Default commit message | |
else | |
message="$*" # Combine all arguments into a single commit message | |
fi | |
git commit -am"$message" # Commit changes |
OlderNewer