Assuming the project was already initiazed and it is integrated with a remote repository. The following commands show the necessary steps to use the feature branch workflow.
Create a new branch
Perform the commits
Push the new branch to origin
Operations on Github
-
Go to https://github.com/your_repository/your_project/branches and click in “New Pull Request button”.
Update the local master branch
Now the changes done in new_feature
branch are available in the local master.