Commandline Utility For the flow Model
=========================================
Simply go to the repository of choice and click fork, then setup your origin and upstream for tracking.
git clone git@github.com:<username>/<project>.gitcd <project>git remote add upstream git@github.com:<MainRepo>/<project>.git- Right now, none of our upstream repositories have a
developbranch. Once we do:git checkout -t upstream/develop. This will inform you of changes made to the upstream (main). git fetch --all --tags
git clone http://github.com/nvie/gitflow.gitcd gitflow/git submodule initgit submodule updatesudo make install
git checkout developgit flow init- This brings up a menu of various things you can configure. Using defaults is usually fine.
Some basics
git flow feature start <feature name>- This will create a branch
feature/<feature name>based fromdevelopand switch to it. - Do your feature modifications on this branch. PUSH OFTEN
- Once you feel as if you're code is complete, run
git flow finish <feature name>- This will automatically merge your changes back into develop, resolve conflicts if needed, and remove the feature branch locally.