-
Notifications
You must be signed in to change notification settings - Fork 2
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
branchfrom the repository. -
Create,edit,rename,move, ordeletefiles in the newbranch. - Send a
pull requestfrom yourbranchwith your proposed changes to kick off a discussion. - Make changes on your
branchas needed. Yourpull requestwill update automatically. -
Mergethepull requestonce thebranchis ready to bemerged. - Tidy up your
branchesusing thedeletebutton in thepull requestor on the branches page.
- Anything in the
masterbranch isdeployable. - Mandate Pull Requests when merging
featurebranches. - Mandate Code Reviews when merging into
master. - Create a new branch to perform a
releaseas this makes it a lot easier to back out. After a successfulreleaseand deploy, merge thereleasebranch intomaster - 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