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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of git-fire!