Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.
/ git-fork Public archive

Command line tool to fork and setup a feature branch for Github projects

Notifications You must be signed in to change notification settings

e-conomic/git-fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-fork

Command line tool to fork and setup a feature branch for Github projects

npm install -g git-fork

Usage

Afterward to fork a github project to your Github account and setup a branch simply do

git-fork username/repo feature-branch

If you want to add a new feature branch either run the command again or go to the repo and do

git-fork new-feature-branch

After you have finished committing your changes you can do

git-fork --pull-request

and the pull request screen window will be opened in your browser. You can also use the -p option as short for pull request.

The first time you run git-fork it will ask for Github credentials that are used to generate a personal oauth token which is stored in ~/.config/git-fork.json. No credentials are stored.

The upstream repo that you forked from is added as the upstream remote and your local master is updated with changes from upstream/master everytime you do a new fork. When you do a fork it will setup tracking for you. To push your changes to your fork simply go to the local repo and do a git push from your branch.

License

MIT

About

Command line tool to fork and setup a feature branch for Github projects

Resources

Stars

Watchers

Forks

Packages

No packages published