Skip to content

Quickly rebase to your base branch by the number of commits since you branched

License

Notifications You must be signed in to change notification settings

cody-dot-js/rebase2base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rebase2base

Command line tool to quickly rebase to your base branch by the number of commits since you branched.

Installation

In your terminal, run the following commands:

git clone https://github.com/dev-cprice/rebase2base.git
cd rebase2base
cp rebase2base /usr/local/bin/rebase2base

Usage

Pass in your base branch as an argument to rebase2base, which will determine the number of commits since your base branch, and then run git rebase -i HEAD~NUM_COMMITS_SINCE_BASE_BRANCH

# ex: 6 commits since base branch of master
$ rebase2base master
#=> will run `git rebase -i HEAD~6

About

Quickly rebase to your base branch by the number of commits since you branched

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages