Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximousblk/gh-fire
🔥 Save Your Code in an Emergency
https://github.com/maximousblk/gh-fire
gh-extension git
Last synced: 9 days ago
JSON representation
🔥 Save Your Code in an Emergency
- Host: GitHub
- URL: https://github.com/maximousblk/gh-fire
- Owner: maximousblk
- License: mit
- Created: 2021-08-29T19:28:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-09T19:48:52.000Z (over 1 year ago)
- Last Synced: 2024-10-23T23:35:11.519Z (19 days ago)
- Topics: gh-extension, git
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 42
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gh-cli-extensions - **fire** - Extention that helps in the event of an emergency. (Tool)
- jimsghstars - maximousblk/gh-fire - 🔥 Save Your Code in an Emergency (Shell)
README
# :fire: `gh fire`
`gh fire` is a GitHub CLI extention 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. Yes, it's a [`git-fire`](https://github.com/qw3rtman/git-fire) clone.
## What It Does
- changes directory to root directory of the repository
- creates new branch `fire--`
- adds all files
- commits with `"Fire! "` or custom message
- pushes commits to remote
- pushes all stashes to remote## Usage
`gh fire `
`` is optional. If not specified, `"Fire! fire--"` will be used.
## Installation
Make sure you have [`gh`](https://github.com/cli/cli) and [`git`](https://git-scm.com/) installed.
Then run
```sh
gh extension install maximousblk/gh-fire
```## 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 created by [qw3rtman](https://github.com/qw3rtman/git-fire)
## License
This code is licensed under [The MIT License](./LICENSE).