Best Software for 2025 is now live!

How do I resolve conflict states using Sourcetree

In Sourcetree it is difficult to know if you are in a conflict state, first of all how to know that and after knowing how to resolve it.
2 comments
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Vishnu U.
VU
iOS App Developer at IThink Solutions
0
Provide an integrated editor where the user can open their code and resolve conflicts.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply
Samuel S.
SS
Unity Developer at UNIT9
0
To know if you're causing a conflict, just commit and push your changes. If there's a conflict, the problematic files will remain unstaged with a warning on them, while to non-conflicting files will remain staged. To resolve conflicts, right click on an individual unstaged file (with a warning) --> Resolve conflicts. This will give you the option to resolve using your local file or the file from the branch you're trying to merge to. Once the conflict is resolved, the file will be staged. When you're done resolving conflicts, commit and push again
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply