Techniques to make rebasing less of a headache
I often see developers merging main into their feature branches and opening pull requests (PRs) that include commits from other branches. This practice leads to “git spaghetti,” which has several consequences: