Github Fast Forward
Automatically Add Upstream & Rebase Current Branch
Installation
$ gem install github_fastforward
Will install the octokit
gem if not already present.
Developers
First, fork this repo on github, then:
$ git clone https://github.com/#{user}/github-fastforward
To fetch development dependencies:
$ bundle install
This will download rake
, bundler
, rubocop
, and github_changelog_generator
.
Usage
To check for a remote upstream & to fetch/rebase to it:
$ github_fastforward
For an authentication prompt (necessary for private repos):
$ github_fastforward -a
Username: #{github_username}
Password: #{github_password}
For authentication via command line:
$ github_fastforward -u #{username} -p #{password}
or:
$ github_fastforward -t #{oauth_token}