Skip to content

Instantly share code, notes, and snippets.

@fforw
Created August 22, 2025 18:29
Show Gist options
  • Select an option

  • Save fforw/e565def713604fe3874e7c92805410cf to your computer and use it in GitHub Desktop.

Select an option

Save fforw/e565def713604fe3874e7c92805410cf to your computer and use it in GitHub Desktop.
git-tmp
#!/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