Crates.io | git-eq |
lib.rs | git-eq |
version | 1.0.2 |
source | src |
created_at | 2022-05-13 13:42:00.08252 |
updated_at | 2022-05-15 08:17:19.525657 |
description | A git command to quickly save your local changes in case of earthquake ! |
homepage | https://github.com/jmevel/git-eq |
repository | https://github.com/jmevel/git-eq |
max_upload_size | |
id | 585883 |
size | 19,119 |
git-eq
(aka git earthquake)Earthquakes are part of the daily life in many countries like in Taiwan.
git-eq
is a simple git command to quickly save your local changes in case of an emergency like this.
This project is heavily inspired by git-fire.
Checkout
to a new branch named earthquake/<origin-branch>-<email>-<elapsed-seconds-since-unix-epoch>
(eg: earthquake/master-bob@domain.com-1652438295
)Add
all those files (even if you're not in the root directory)Commit
with either the default message or the provided onePush
to the remote of your branch (most commonly origin
but not necessary)cargo install git-eq
git eq [message]
git eq
Will produce a commit with the default message Earthquake!!! This is an emergency commit
git eq "My custom message"
Will produce a commit with the message My custom message