Just Heard About Git Pull Rebase
It took me years to notice that running a git pull
causes a merge commit in my remote copies of the repository. “Merged branch main into dev”. This doesn’t add value, in my opinion.
To avoid this, add a --rebase
flag to git pull
. A merge commit will not be created.
git pull --rebase
P.S. The diagrams from Atlassian Bitbucket are pretty nice for visuals of git workflows.
Read other posts