git-fire is a Git plugin that helps in the event of an emergency by switching to the repository's root directory, adding all current files, committing, and pushing commits and all stashes to a new branch (to prevent merge conflicts). Alias it to git out or git going for comedic effect. <message> is optional. If not specified, "Fire! Branch fire-current branch-user email-seconds since epoch" will be used. Just copy git-fire to your $PATH and ensure it is an executable (chmod +x git-fire) and you're good to go.
Features
- Changes directory to root directory of the repository
- Creates new branch fire-current branch-user email-seconds since epoch
- Adds all files
- Commits with "Fire! Branch new branch" or custom message
- Pushes commits to remote
- Pushes all stashes to remote
License
MIT LicenseFollow git-fire
Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit
Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of git-fire!