If this is a new repository, create it on GitHub, then create a remote develop branch.
Clone the repository to your local machine using command line or Github Fow Windows GUI:
git clone https://github.com/CloudifySource/repo_name.git
CD into the repository folder and run the init command to enable to hub flow tools:
cd repo_name
git hf init
Syntax | Description |
---|---|
git hf feature start feature_name | Start a new feature called feature_name (you need to pull changes to your local develop branch first) |
git hf feature track feature_name | Join the feature_name feature which has already started |
git hf feature checkout feature_name | Switch to the feature_name feature (useful when working on multiple features) |
commit | Commit changes to the local feature branch using your favourite tool (IDE, command line, TortoiseGit, etc) |
git hf push | Push committed changes to the remote feature branch for collaboration or backup |
git hf pull | Pull changes made by others from the remote branch |
git hf update git merge develop | Update the local develop branch with completed features and merge them into the local feature branch |
git hf feature submit | Submit a pull request to merge the remote feature branch into the remote develop branch |
git hf feature finish | Delete the local & remote feature branches after it has been merged back to the remote develop branch |
git hf feature cancel -f feature_name | Delete the local & remote feature branches without merging to the remote develop branch |
💯 for kjung ❤️