nx/docs/guides/git-branching-strategies.md
ben d92c94d097 docs(nx): add nx documentation files
This adds some documentation files splitted in different categories.
2019-01-21 10:44:55 -05:00

1.0 KiB
Raw Blame History

A recommended Git Strategy

We recommend the following:

  • Always use Pull Requests when merging code. A PR has two purposes:
    • To initiate a conversation and to get feedback on the implementation
    • To initiate a build and to run tests and lint checks to ensure that we dont break the build
  • Avoid long-running branches and dont merge branches locally
  • Enforce a git merging strategy that ensures that feature branches are up-to-date before merging. This ensures that these branches are tested with the latest code before the merge.

The website trunkbaseddevelopment.com contains a lot of very helpful information on trunk-based development and is a great resource.

The following sections are the most pertinent: