I work in a team where frontend dev and backend dev work together on single feature branches. Currently we do not know how to resolve merge conflict when both sides, front and back, produces merge conflict.
Assume we have 3 files in repo:
index.html
frontend_code.js
backend_code.py
Both frontend_code.js
and backend_code.py
are in conflict with master (for example another dev team merged something to master).
We want to keep both: new feature code and the code that was already merged to master. And here is a problem.
Backend dev knows only how to fix backend_code.py
and frontend dev knows how deal with frontend_code.js
and to resolve conflict you have to deal with whole codebase.
Is there a option to resolve conflict by file/folder so every dev could do this for themselves?