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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow git-fire

git-fire Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

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.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of git-fire!

Additional Project Details

Programming Language

Unix Shell

Registered

2022-12-15