Created
August 22, 2025 18:29
-
-
Save fforw/e565def713604fe3874e7c92805410cf to your computer and use it in GitHub Desktop.
git-tmp
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/zsh | |
| # Don't name this *.zsh, the extension is just for github | |
| if [ "$1" = "-h" ]; then | |
| echo -e "Usage: git tmp\n\nAdds all tracked und untracked files and creates a new commit with the title 'TMP'" | |
| else | |
| git add -A | |
| git commit -m "TMP" | |
| fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment