Git Rebase vs Git Merge! A debate which can be puzzling for many. Let's explore it with practical examples. A Thread 👇
1/ 📌 Git Merge vs. Git Rebase 🔄 Let's dive into these two essential Git operations with practical examples. 💡 #Git #VersionControl
@devops_tech Why directly push to main in case of merge? Is not it better to merge main into feature branch locally then push to feature branch and create a PR against main?
@devops_tech Using git merge instead of rebase is a clear sign of skill issue
@devops_tech Thanks for the thread. What's the worst scenerio of using rebase on public branch?
@devops_tech Those who think git rebase is more skilful than git merge, are those who cry deeply inside and show a straight face and fake off everything is normal 😂, the sane thing to do is always merge main to feature until the feature is ready, then for merging into main, squash and merge