Re:GitHub Fork and Pull Request Workflow - Quick Reference G...
by mnsc on Saturday February 17, 2018 @03:31PM
(#16402542)
Does the individual commits pre-squash still exist in the repo or are they only saved in the PR, ie. duplicated and saved somewhere in Github's infrastructure?
[ Parent
| on HN ]
Re:GitHub Fork and Pull Request Workflow - Quick Reference G...
by jmuhlich on Saturday February 17, 2018 @03:40PM
(#16402572)
Yes, the original individual commits are kept alive and never garbage collected from GitHub's copy of the repository. You can get back to them on the website via the "Commits" tab of the PR. Local clones won't contain those branches though unless you explicitly fetch them.