You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: onboarding.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,12 @@ Commits in one pull request that belong to one logical change should
208
208
be squashed. It is rarely the case in onboarding exercises, so this
209
209
needs to be pointed out separately during the onboarding.
210
210
211
-
<!-- TODO(joyeechueng): provide examples about "one logical change" -->
211
+
Examples of "one logical change":
212
+
- A bug fix that includes the code change and corresponding test updates.
213
+
- A new feature implementation in a single module.
214
+
- A refactoring of a specific function or class.
215
+
216
+
Multiple commits should be squashed if they represent iterations on the same logical change (e.g., fixing review feedback). Commits that represent separate logical changes should remain separate.
212
217
213
218
## Exercise: Make a pull request adding yourself to the README
0 commit comments