Feature Branches (Standar)

You are here:
Estimated reading time: < 1 min

Find & Replace with yours:

  • {changesDescription}→ Feature Description
  • {shortDescription} → Feature-description

1. Create:

git checkout develop;git pull origin develop;git checkout develop;git checkout -b {shortDescription} develop;

Where {shortDescription} is the feature description.

2. Add & Commit Files Changes

git commit add {path/to/file.ext};
git commit add {path/to/file2.ext};
git commit -m "{changesDescription}"

Where:
{path/to/file.ext} and {path/to/file2.ext} are the files to add.
{changesDescription} are the changes description.

3. Finish:

git checkout develop;git merge --no-ff shortDescription -m "shortDescription";git branch -d shortDescription;git push origin develop;

Where {shortDescription} is the feature description.

Was this article helpful?
Dislike 0
Views: 265