Code Monkey home page Code Monkey logo

git-fire's Introduction

git-fire ๐Ÿ”ฅ

Inspiration

git-fire is a Git plugin that helps in the event of an emergency by adding all current files, committing, and pushing to a new branch (to prevent merge conflicts).

Alias it to git out or git going for comedic effect.

  • git config --global alias.out fire
  • git config --global alias.going fire

What It Does

  • creates new branch fire-<current branch>-<user email>-<current epoch>
  • adds all files
  • commits with "Fire! Branch <new branch>" or custom message
  • pushes to remote

Usage

git-fire <message>

<message> is optional. If not specified, "Fire! Branch fire-<current branch>-<user email>-<current 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 installable 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.

Credit

Originally seen on Hackathon Hackers Facebook group.

Original Reddit post

Image source | Artist: รkos Szokodi

git-fire's People

Contributors

jgkamat avatar luavis avatar pault-pg avatar qw3rtman avatar tiborsaas avatar xender avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.