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
$300 Free Credits to Build on Google Cloud
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of git-fire!