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

Conflicting instructions for pushing new commits to PRs versus amending #1058

Closed
not-an-aardvark opened this issue Feb 17, 2021 · 2 comments
Closed

Comments

@not-an-aardvark
Copy link

I recently opened a PR, which was my first time contributing to the rust repo. The rust-highfive bot left a comment saying, "If any changes to this PR are deemed necessary, please add them as extra commits." I think I might have read this comment initially, but then I forgot about it.

Later, when I needed to make changes to the PR, I wasn't sure whether I should amend or push additional commits, so looked at this documentation. It says, "please make sure that fixup commits are squashed into other related commits with meaningful commit messages.", which seems like the opposite of what the rust-highfive bot said. (In hindsight, I suspect maybe this is referring specifically to the the rebase process and not the process of adding fixup commits generally, but I'm only maybe 70% sure of this, and I still don't know what the recommended practice is.)

It seems like clarifying the documentation here could allow for a smoother process for future contributors/ensure that everyone is able to follow the recommended guidelines.

@camelid
Copy link
Member

camelid commented Feb 17, 2021

Looks like this is the same idea as #900. Do you want to close this and post your comment there?

@not-an-aardvark
Copy link
Author

Yep, thanks for pointing that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants