Pj
Installation
Add this line to your application's Gemfile:
gem 'pj'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pj
Usage
sync
Syncing a fork from upstream with the following instruction
$ pj project-name-in-config-file sync
push
Runs git push origin master
$ pj project-name push
owner
Assuming you have upstream, pushes to both upstream and origin
$ pj project owner
cd
Copy to cliboard cd project-directory-name
command.
$ pj project cd
Contributing
- Fork it ( https://github.com/[my-github-username]/pj/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request