The guide to update your branch without losing code
So the goal here is to update our branch with latest changes.
Scenario
Let's say we are on the branch feature/removing-items-from-list, your branch is dirty, and we want to pull the latest changes from the develop branch.
So here, are two options:
1 . git stash
This command will basically move your current changes to another dimension.
2 . commit
The common process by creating a commit before merging latest changes.
0 view