4,637 Followers, 3,161 Following, 532 Posts - See Instagram photos and videos from Honua Hawaiian Skincare (@honuaskincare)
The first thing to understand about git rebase is that it solves the same problem as git merge. Both of these commands are designed to integrate changes from one branch into another branchâthey just do it in very different ways. Consider what happens when you start working on a new feature in a dedicated branch, then another team member updates the master branch with new commits.
The target is the folder to which we want those changes to be applied. Note that my definition of merge branches is a one-way operation. We apply changes from the origin to the target. In my example above, $/branch is the origin and $/trunk is the target.