-
Notifications
You must be signed in to change notification settings - Fork 1
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
master
branch is deployable. - Use Pull Requests when merging branches to enforce quality checks.
- Use Requires Code Review when merging into
master
. - Create a
Release
branch to perform a release as this makes it a lot easier to back out. After a successful release and deploy, mergeRelease
intomaster
- Delete
feature
andrelease
branches once merged
For a large piece of development work with a number of team members, it is recommended to:-
- create a
development
branch offmaster
- team members create
feature
branches off thedevelopment
branch - Team members do
Pull Requests
tomerge
thefeature
back into thedevelopment
branch - When ready to
release
, create arelease
branch off thedevelopment
branch and thenmerge
intomaster
- Delete the
development
branch
Note:- This is similar to the Git Flow paradigm
https://help.github.com/articles/github-flow/ https://githubflow.github.io/