-
Notifications
You must be signed in to change notification settings - Fork 2
Workflow
Jonathan Austin edited this page Jan 21, 2019
·
4 revisions
To take full advantage of Git and Github, 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 branch from the repository.
- Create, edit, rename, move, or delete files.
- 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
masterbranch is deployable. - Use Pull Requests when merging branches to enforce quality checks.
- Use Requires Code Review when merging into
master. - Create a
Releasebranch to perform a release as this makes it a lot easier to back out. After a successful release and deploy, mergeReleaseintomaster - Delete
featureandreleasebranches once merged
For a large piece of development work with a number of team members, it is recommended to:-
- create a
developmentbranch offmaster - team members create
featurebranches off thedevelopmentbranch - Team members do
Pull Requeststomergethefeatureback into thedevelopmentbranch - When ready to
release, create areleasebranch off thedevelopmentbranch and thenmergeintomaster - Delete the
developmentbranch
Note:- This is similar to the Git Flow paradigm
https://help.github.com/articles/github-flow/ https://githubflow.github.io/