-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Treat version history as a resource #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,6 +4,7 @@ A guide for programming within version control. | |||||
|
||||||
## Best Practices | ||||||
|
||||||
- Treat the version history as a resource for the future. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: I think one part of the previous suggested change highlights the intent and objective in a clear and concrete way:
Suggested change
The rest of the reasoning reads as a great start of a "guideline page" to expound on the reasoning behind why it's a good guideline to follow...
There's a few examples of guideline pages being broken out in the Ruby guides README.md and I think some other recent PRs as well. |
||||||
- Avoid merge commits by using a [rebase workflow]. | ||||||
- Squash multiple trivial commits into a single commit. | ||||||
- Write a [good commit message]. | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate a bit more here? I love what you have in the PR description although that's probably too long. Maybe some kind of happy medium?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't work out how to shorten it to fit in a line or two. Any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something along the lines of "Explain the why and not the what"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An idea for incorporating some of the content from the PR description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In #738 we introduced the pattern of adding a markdown file with the reasoning and examples. You might consider doing the same.
Those would be nice blog posts too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nickcharlton what do you think about @jutonz's suggestion and then merging this?