This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git Hubflow Workflow: | |
Sync Branch: | |
git hf update - this will update master and develop and sync remote branches with local ones (be sure not to put commits into develop or master as it will push these up) | |
git hf push - this will push your commits in your local branch to the matching remote branch | |
git hf pull - this will pull the remote commits into your local branch (don't use if the remote branch has been rebased - use git pull origin "your-branch" instead) | |
Feature Branch: | |
gif hf feature start "my-feature" - this will create a feature branch on origin and local will be based off the latest develop branch (make sure to git hf update before or you will get an error if local develop and remote develop have divereged) | |
git hf feature finish "my-feature" - this will delete the local and remote branches (only do this after a PR has been merged) |