qw3rtman/git-fire has 4,539 GitHub stars and 137 forks. GitHot measured +2 stars in 24 hours. Last checked 2026-11-05 15:53 UTC. Last push 2022-03-02.
:fire: 緊急時にコードを保存
計測したスター増加
- 24時間
- +2
- 7日間
- 更新が遅れています
- 15日間
- 更新が遅れています
- 1か月
- 更新が遅れています
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルgit-fire :fire:
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.
git config --global alias.out firegit config --global alias.going fire
What It Does
- 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
Usage
git-fire <message>
<message> is optional. If not specified, "Fire! Branch fire-<current branch>-<user email>-<seconds since epoch>" will be used.
Installation
Just copy git-fire to your $PATH and ensure it is an executable (chmod +x git-fire) and you're good to go. 👍
git-fire is also available via npm. Just run npm install -g git-fire, which will copy the git-fire binary to your $PATH.
Also make sure you have Git installed.
Disclaimer
Your life is always more valuable than any code. You should leave the building immediately in a true emergency.
Code can be re-written, but humans cannot.
Credit
Originally seen on Hackathon Hackers Facebook group.
Image source | Printable Image | Artist: Ákos Szokodi
