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
Earn up to 16% annual interest with Nexo.
Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of git-fire!