Stop doing this in Git!

Published: 06 March 2023
on channel: Dan Clarke
958
32

If you're working off a shared main branch in Git - then blindingly pulling and pushing can really mess up the history, for no reason. Creating permanent (and mis-leading) merge commits in the history - where the branch divergence only occurred locally.

I see this a lot where developers use Git, but haven't taken the time to probably understand it, and concepts like rebasing.

In this video - I explain the problem and its symptoms - and also demo doing it both the wrong way, and also the right way.


Watch video Stop doing this in Git! online without registration, duration hours minute second in high quality. This video was added by user Dan Clarke 06 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 95 once and liked it 3 people.