66
77** Do not commit code changes to the master branch!**
88
9- ** Read the documentation on [ submodules] [ ] !**
10-
11- ** Do not commit submodule updates accidentally!**
12-
139Don't forget to commit early and often!
1410
1511Please add ` [ci skip] ` to commits that should be ignored by the CI systems
@@ -24,7 +20,6 @@ Write *good* commit messages. Follow Tim Pope's [guidelines][]:
2420* The rest should be a wrapped, detailed explanation of the what and why
2521* The tone should be imperative
2622
27- [ submodules ] : https://www.git-scm.com/book/en/v2/Git-Tools-Submodules
2823[ guidelines ] : http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
2924
3025New to Git?
@@ -71,7 +66,9 @@ Particularly:
7166* Checkout a new local branch for every change you want to make (bugfix, feature).
7267* Use ` alias/feature-name ` pattern.
7368* Use lowercase-with-dashes for naming.
74- * Use same branch name in super-project and all [ submodules] [ ] .
69+ * Use same branch name in superproject and all [ submodules] [ ] .
70+
71+ [ submodules ] : https://www.git-scm.com/book/en/v2/Git-Tools-Submodules
7572
7673Permissions
7774-----------
@@ -87,29 +84,6 @@ repositories, as you can also just [fork a repo][].
8784
8885[ fork a repo ] : https://help.github.com/articles/fork-a-repo/
8986
90- Rebase and Fast-Forward Merge Pull Requests in Submodules
91- ---------------------------------------------------------
92-
93- * This is not necessary in the superproject, only submodules!*
94-
95- Because GitHub's "Merge Pull Request" button merges with ` --no-ff ` , an
96- extra merge commit will always be created. This can be especially
97- annoying when trying to commit updates to submodules. Therefore our
98- policy is to merge using the Git CLI after approval, with a rebase
99- onto master to enable a fast-forward merge.
100-
101- Submodules
102- ----------
103-
104- This repository is a superproject with a half-dozen [ submodules] [ ] .
105- ** DO NOT** commit updates unless absolutely necessary. When submodules
106- must be updated, a separate Pull Request must be submitted, reviewed,
107- and merged before updating the superproject. When committing submodule
108- updates, ensure no other changes are in the same commit. Submodule
109- bumps may be included in feature branches for ease of work, but the
110- update must be independently approved before merging into master.
111-
112-
11387Recommended Git configurations
11488------------------------------
11589
0 commit comments