-
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
, ordelete
files in the newbranch
. - Send a
pull request
from yourbranch
with your proposed changes to kick off a discussion. - Make changes on your
branch
as needed. Yourpull request
will update automatically. -
Merge
thepull request
once thebranch
is ready to bemerged
. - Tidy up your
branches
using thedelete
button in thepull request
or on the branches page.
- Anything in the
master
branch isdeployable
. - Mandate Pull Requests when merging
feature
branches. - Mandate Code Reviews when merging into
master
. - Create a new branch to perform a
release
as this makes it a lot easier to back out. After a successfulrelease
and deploy, merge therelease
branch 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