diff options
| author | Sean Whitton | 2024-08-27 12:22:01 +0800 |
|---|---|---|
| committer | Sean Whitton | 2024-08-27 12:22:01 +0800 |
| commit | afee71273b7041377148fbcfb554db5b45bcb3c9 (patch) | |
| tree | 60fc852d20bdccbdf95d54c0e6d701893f49e501 /admin/notes/git-workflow | |
| parent | 77302ccb6aa111ec1a4360a2a80b34b1e1ca4604 (diff) | |
| download | emacs-afee71273b7041377148fbcfb554db5b45bcb3c9.tar.gz emacs-afee71273b7041377148fbcfb554db5b45bcb3c9.zip | |
Discuss commit log messages on feature branches
* admin/notes/git-workflow (Long-lived feature branches): New
section, discussing commit log messages on feature branches.
Diffstat (limited to 'admin/notes/git-workflow')
| -rw-r--r-- | admin/notes/git-workflow | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/notes/git-workflow b/admin/notes/git-workflow index d33f49a1aca..d873cac4269 100644 --- a/admin/notes/git-workflow +++ b/admin/notes/git-workflow | |||
| @@ -138,6 +138,20 @@ When everything's done, look hard at the resulting merge. Skipping | |||
| 138 | commits requires separate merges, so don't be surprised to see more | 138 | commits requires separate merges, so don't be surprised to see more |
| 139 | than one merge commit. If you're happy, push. | 139 | than one merge commit. If you're happy, push. |
| 140 | 140 | ||
| 141 | |||
| 142 | Long-lived feature branches | ||
| 143 | =========================== | ||
| 144 | |||
| 145 | The conventions for formatting commit log messages set out in CONTRIBUTE | ||
| 146 | don't apply to commits made to feature branches. | ||
| 147 | Thus, feel free to commit little and often, with short and simple commit | ||
| 148 | messages. This practice can ease development by making 'git bisect' and | ||
| 149 | 'git revert' more effective. | ||
| 150 | |||
| 151 | The commit merging the feature branch to master, on the other hand, | ||
| 152 | should follow the usual commit log message conventions. | ||
| 153 | |||
| 154 | |||
| 141 | Warnings about X11 forwarding | 155 | Warnings about X11 forwarding |
| 142 | ============================= | 156 | ============================= |
| 143 | 157 | ||