-
Notifications
You must be signed in to change notification settings - Fork 603
Solving Merge Conflicts
Pronay Sarker edited this page Dec 26, 2024
·
1 revision
In some cases, your pull request might encounter merge conflicts when the changes cannot be automatically merged with the main branch. To resolve merge conflicts:
-
Update your local branch with the latest changes from the main repository:
git fetch upstream
git checkout your-branch-name
git rebase upstream/master
-
Git will pause when encountering conflicts. Open the affected files, resolve the conflicts manually, and save the changes.
-
After resolving all conflicts, stage the changes and continue with the rebase:
git add .
git rebase --continue
- Finally, force push the changes to your forked repository:
git push --force origin your-branch-name
Your pull request will be updated with the resolved conflicts, and the reviewers can proceed with the review process. Again, don’t forget to squash your commits.
view the official docs on how to solve merge conflict here
- Android-Client API Documentation - https://demo.mifos.io/api-docs/apiLive.htm
- Kotlin Multiplatform - https://www.jetbrains.com/help/kotlin-multiplatform-dev/get-started.html
- JetBrains Toolbox - https://www.jetbrains.com/toolbox-app/
- Compose Multiplatform - https://www.jetbrains.com/compose-multiplatform/
- Fastlane - https://docs.fastlane.tools/