What is the difference between closing and merging a pull request? #1
-
|
Briefly |
Beta Was this translation helpful? Give feedback.
Answered by
CreepyLewis
Apr 22, 2026
Replies: 1 comment
-
|
Closing a PR means you rejected or cancelled it — Merging a PR means you accepted it — Always merge instead of close if you want |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ll254
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing a PR means you rejected or cancelled it —
the changes are NOT added to the main branch.
Merging a PR means you accepted it —
the changes ARE added to the main branch.
Always merge instead of close if you want
your changes to count toward achievements
like Pull Shark!