Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Feature and topic branches are named dev/something, such as dev/IDP-1234.

Comments

In Git and many orther other modern version control systems, comments on commits are by convention divided into two parts. Some tools assume this structure, so it's an important convention to stick to whenever you can.

...

  • Start from the main branch: git checkout main 

  • Create local development branch: git checkout -b dev/my-feature 

  • Publish development branch: git push -u origin dev/my-feature

  • ... perform feature development ...

  • ... any series of commits, merges, rebases, squashes, etc. ...

  • Prepare to merge development branch: git rebase -i main 

  • Move back to parent branch: git checkout main 

  • Bring in the feature's final set of commits: git merge --ff-only dev/my-feature 

  • Publish: git push 

  • Delete remote development branch: git push --delete origin dev/my-feature

  • Delete local development branch: git branch -d dev/my-feature

...