Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.33 KB

create_branches.md

File metadata and controls

47 lines (29 loc) · 1.33 KB

CREATE BRANCHES

Depending on the type of issue the branch for it will have a different origin.

BUG FIX / SECURITY FIX

As per Issues Guidelines we do not need to have a Milestone for it.

Considering that we have issue number 4 with title Fix Email Validation.

git fetch && git checkout -b issue-4_fix-email-validation origin/master

NEW FEATURE / IMPROVE FEATURE / REFRACTING CODE

As per Issues Guidelines we must have a Milestone for this type of requirement.

Once the Milestone can be split in several issues, lets imagine:

  • Milestone number 12 with title Add Cache.
  • Issue number 14 with title Create Cache Interfaces.
  • Issue number 15 with title Implement Redis Cache.
  • Issue number 16 with title Implement File System Cache.

Creating Milestone Branch:

git fetch && git checkout -b milestone-12_add-cache origin/master && git push origin milestone-12_add-cache

Creating Issues Branches:

git fetch && git checkout -b issue-14_create-cache-interfaces origin/milestone-12_add-cache
git fetch && git checkout -b issue-15_implement-redis-cache` origin/milestone-12_add-cache
git fetch && git checkout -b issue-16_implement-file-system-cache` origin/milestone-12_add-cache