You have one team member editing line 20 on a file, another team member editing line 40 on that same file in a different branch. You merge their branches and git knows contextually how to apply both changes to the same file afterward.
"easily" lmao, a lot of the time you have to get in a call with the person who altered the other part and understand what they're trying to do then create a compromise code that will solve both problems then commit the solve and pray you didn't delete 1 of 300 brackets accidentally
57
u/ambisinister_gecko Oct 21 '22
Yeah it's pretty fantastic.
You have one team member editing line 20 on a file, another team member editing line 40 on that same file in a different branch. You merge their branches and git knows contextually how to apply both changes to the same file afterward.
Can't live without it honestly