Improve this page

GIT Technical Guidance

Guidelines and help for working with Git for the Cloud Foundation platform.

Git Branching strategy

The GitFlow branching strategy is used by default.

Sequence of git commands

git pull develop
git branch descriptive_branch_name
git commit "descriptive commit comment"
git push
git pull develop
git checkout descriptive_branch_name
git merge develop
git commit "descriptive merge commit comment"

Review

As a Pull Request reviewer follow the next steps.

  1. If available validate build output on success or failure.
  2. Validate changes in VSTS Diff screen if additions and changes are conform naming convention and strategy.
  3. Checkout and validate on development environment.
  4. Approve or reject Pull request and communicate.

Visual Studio Team Services configuration

The master and develop branches are protected via branch policies. The current policy settings aren’t very strict to not slow the team down. They can be updated when needed.

Example policy settings