8000 Recommend to amend pull requests by timhoffm · Pull Request #16533 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Recommend to amend pull requests #16533

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

Merged
merged 1 commit into from
Feb 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/devel/coding_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ When making a PR, pay attention to:
feedback from the developers. You may mark these as
`draft pull requests <https://help.github.com/en/articles/about-pull-requests#draft-pull-requests>`_
on GitHub.
* When updating your PR, instead of adding new commits to fix something, please
consider amending your initial commit(s) to keep the history clean.
You can achieve this using::

git commit --amend --no-edit
git push [your-remote-repo] [your-branch] --force-with-lease

See also :ref:`contributing` for how to make a PR.

Expand Down
0