Skip to content

Instantly share code, notes, and snippets.

@ferlores
Created July 2, 2012 19:14
Show Gist options
  • Save ferlores/3035055 to your computer and use it in GitHub Desktop.
Save ferlores/3035055 to your computer and use it in GitHub Desktop.
Git flow how to

##Steps to use git-flow

First Steps

One-time actions

  • Fork the repo, and clone it in your computer
  • Add remote upstream pointing to the blessed repo

Everyday actions

  • Create a branch: https://github.com/nvie/gitflow/#creating-featurereleasehotfixsupport-branches
  • Make changes and commit
  • publish your branch (optional):
    • push your branch to your fork,
    • make a pull request just to get feedback
    • close the pull request without mergin the changes
  • When the branch is ready, finish it and pull request from your develop to the blessed develop branch
  • Start over again

Questions?

Repo example

https://github.com/ferlores/gitflow-test/network

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment