Skip to content

Commit

Permalink
Docs: suggest deleting branches after merging PRs (#9449)
Browse files Browse the repository at this point in the history
This updates the maintainer guide to recommend deleting the git branch
after merging a PR. (It seems like we usually already do this, but I
    think we should document it to make the recommendation more official.)
  • Loading branch information
not-an-aardvark committed Oct 16, 2017
1 parent b31e55a commit 052c504
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/maintainer-guide/pullrequests.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ Otherwise, team members should observe a waiting period before merging a pull re

The waiting period ensures that other team members have a chance to review the pull request before it is merged.

If the pull request was created from a branch on the `eslint/eslint` repository (as opposed to a fork), delete the branch after merging the pull request. (GitHub will display a "Delete branch" button after the pull request is merged.)

**Note:** You should not merge your own pull request unless you're received feedback from at least one other team member.

## When to Close a Pull Request
Expand Down

0 comments on commit 052c504

Please sign in to comment.