DEV Community

Discussion on: How you can go wrong with git

Collapse
 
jessekphillips profile image
Jesse Phillips

I have mixed feelings about distinguishing by remote or local. As you point out each time the actual issue is shared vs unshared. I can see how this gives a good goto principle for Git beginners, but you learn through mistakes.

Also, if you do get into a rebase for a shared branch, you can reach for cherry-pick or rebase interactive to take just the needed changes.