re: Do your commits pass this simple test? VIEW POST

re: I’ve been thinking about the complete git/GitHub workflow. Working commits as described here. Squashing and reorganizing the history in preparati...

I suppose the second point makes sense if you are creating specialized branches or when you are working locally and before you push your changes you want to show a unified picture in your log.


It is actually part of a common workflow with GitHub. Commit locally often. Push to a working branch on a personal fork often. Reorganize, squash, rebase, locally then git push --force-with-lease the result you want in a pull request onto your branch before sending it back to the parent project.

Had to look that up. For those unfamiliar: git push --force-with-lease

Code of Conduct Report abuse