Skip to content
Discussion options

You must be logged in to vote

This happens because your branch has changes that conflict with the main branch. To fix it:

Switch to your branch:

git checkout feature-dashboard

Pull the latest changes from main and merge them:

git pull origin main

Resolve any conflicts in the files shown by Git. After fixing them, stage and commit the changes:

git add .
git commit -m "Resolve merge conflicts with main"

Push your updated branch:

git push origin feature-dashboard

After this, your pull request will be conflict-free and can be merged safely.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trading-dojo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Requests Propose, review, and discuss changes to a repository's codebase Question Ask and answer questions about GitHub features and usage
2 participants