-
Notifications
You must be signed in to change notification settings - Fork 225
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
Fix #226, Add Instructions on How to Squash and Amend Commits #237
Conversation
CONTRIBUTING.md
Outdated
@@ -90,12 +90,70 @@ Follow GitHub's fork-branch-pull request pattern. | |||
7. Provide your full name or GitHub username and your company or organization if applicable. | |||
|
|||
#### Once a Pull Request Ready for Review | |||
1. Verify the commit message and PR title use the template `Fix #XYZ, SHORT_DESCRIPTION`. | |||
2. Verify there is only one commit message. Squash or amend the commit messages if necessary. | |||
1. Verify the commit message and PR title use the template `Fix #XYZ, SHORT_DESCRIPTION`. The commit message can use `Fix #XYZ, LONG_DESCRIPTION` if necessary. |
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.
Format is
Fix #XYZ, SHORT_DESCRIPTION
LONG_DESCRIPTION (optional)
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.
Updated format in sections Ready to Add Your Code?, Once a Pull Request Ready for Review, and Soft Reset.
CONTRIBUTING.md
Outdated
#### How to Squash Commits | ||
1. Switch to the master branch and ensure you are up to date: | ||
```sh | ||
git checkout master && git pull |
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.
main
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.
Updated to main.
CCB:2021-04-07 APPROVED
|
Added reference under sections Ready to Add Your Code? and Once a Pull Request Ready for Review |
Checklist (Please check before submitting)
Describe the contribution
Fixes #226
Fix #XYZ, LONG_DESCRIPTION
for commit messages if necessary.Expected behavior changes
Users should know how to squash and amend commits.
Contributor Info - All information REQUIRED for consideration of pull request
Ariel Adams, ASRC Federal