nerdsupremacist / git-fuck

NPM Module for when you've committed to the wrong branch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-fuck

NPM Module for when you've committed to the wrong branch

Install

To install git-fuck simply use npm

npm install git-fuck -g

Usage

Whenever you've pushed something to the wrong branch simply type:

git-fuck <correct-branch-name>

Recommendation

For better usability use it with this alias:

git config --global alias.fuck git-fuck

Now you can use it with the command:

git fuck <correct-branch-name>

About

NPM Module for when you've committed to the wrong branch


Languages

Language:JavaScript 100.0%