til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Squash Commits

For my own workflow I find that git pull –rebase origin main is nice because I can just pull in the changes from main without a merge commit.

For the squashing, I find git rebase -i origin/main to have a nice workflow.

After that, just git push –force-with-lease and you should be all set. 😄

REF: https://github.com/oalders/go-for-perl-hackers/pull/11#issuecomment-1031792697

Resources and References