-
Notifications
You must be signed in to change notification settings - Fork 1
Workflow
Jonathan Austin edited this page Jan 21, 2019
·
4 revisions
Bordertech
recommend following the GitHub Flow workflow. GitHub developed this workflow to make it easy to collaborate on projects regardless of their size or technical expertise.
- Create a feature branch from the repository.
- Create, edit, rename, move, or delete files in the new branch.
- Send a pull request from your branch with your proposed changes to kick off a discussion.
- Make changes on your branch as needed. Your pull request will update automatically.
- Merge the pull request once the branch is ready to be merged.
- Tidy up your branches using the delete button in the pull request or on the branches page.
- Anything in the
master
branch is deployable. - Mandate pull requests when merging feature branches.
- Mandate code reviews when merging into
master
. - Always create a new branch to perform a release. Refer here for information specific to releases.
- Delete feature and release branches once merged.
For a large piece of development work with a number of team members, it is recommended to:-
- Create a development branch off
master
. - Team members create feature branches off the development branch.
- Team members do pull requests to merge features into the development branch.
- When ready to release, create a release branch off the development branch. Once released perform a pull request into
master
. - Delete the development and release branches.
Note:- This is a simplified version of Git Flow.