Skip to content
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

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Fix #226, Add Instructions on How to Squash and Amend Commits #237

merged 1 commit into from
Apr 22, 2021

Conversation

ArielSAdamsNASA
Copy link
Contributor

@ArielSAdamsNASA ArielSAdamsNASA commented Apr 6, 2021

Checklist (Please check before submitting)

Describe the contribution
Fixes #226

  • Added How to Squash Commits.
  • Added How to Amend Commits.
  • Added that users may use the format Fix #XYZ, LONG_DESCRIPTION for commit messages if necessary.
  • Added to create a commit message per topic and provided an example.
  • Added reference to https://chris.beams.io/posts/git-commit/

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

@ArielSAdamsNASA ArielSAdamsNASA added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) docs labels Apr 6, 2021
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.
Copy link
Contributor

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)

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to main.

CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Show resolved Hide resolved
@ArielSAdamsNASA ArielSAdamsNASA added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 7, 2021
@astrogeco
Copy link
Contributor

CCB:2021-04-07 APPROVED

@ArielSAdamsNASA
Copy link
Contributor Author

CCB:2021-04-07 APPROVED

Added reference under sections Ready to Add Your Code? and Once a Pull Request Ready for Review

@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 7, 2021
@skliper skliper added CCB:2021-04-07 and removed CCB:Approved Indicates code review and approval by community CCB labels Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add links or instructions to pull request squash and ammend section
4 participants