You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for the tutorial, it is really helpful and exactly what I was looking for!
My question (+improvement suggetion) is: What do I do with my branch, in my fork, after it has been merged? Do I also merge it with the main branch on my end? If so - how? Do I somehow close the branch aftetward? If so - how?
The text was updated successfully, but these errors were encountered:
Once your PR is merged, you don’t need that branch anymore in your fork. You can safely delete it — either via the GitHub UI (there’s usually a button on the PR) or using:
git push origin --delete your-branch-name in terminal.
You don’t need to merge it into your fork’s main. Instead, keep your fork’s main up to date with the original repo by syncing it regularly.
There is a bit of overlap between syncing on GitHub and doing git pull locally — you only need one, depending on where you're working. If you’re mainly working locally, just git pull from the original repo (upstream), then git push to your fork if needed.
Deleting the branch afterward is a good cleanup step, and you're doing it right 👍
First of all thanks for the tutorial, it is really helpful and exactly what I was looking for!
My question (+improvement suggetion) is: What do I do with my branch, in my fork, after it has been merged? Do I also merge it with the main branch on my end? If so - how? Do I somehow close the branch aftetward? If so - how?
The text was updated successfully, but these errors were encountered: