Git - My Learning Journey
I recently started learning Git, and my goal is to master it in just three days! To help myself understand it better, I'll document everything new I learn in this post as a personal reminder.
Day 2 - Understanding git merge
Today, I learned about merging branches in Git. Merging allows changes from one branch to be applied to another. There are two types of merges:
1- Fast Forward Merge - This happens when the target branch hasn’t changed since the feature branch was created. Git simply moves the pointer forward to include the new changes.
2- Non Fast Forward (Three Way Merge) - If both branches have changes, Git creates a new commit that combines them.
More to come as I continue learning! 🚀
Top comments (0)