As mentioned, you can first perform git pull to pull down the remote code, then merge it locally and re-commit it
First git pull update the remote code
git pull
Execute git status Follow the prompts to resolve conflicting files
git status
Then git add -A && git commit submit the version that resolves the conflictNow the version will be clean
git add -A && git commit
As mentioned, you can first perform git pull to pull down the remote code, then merge it locally and re-commit it
First
git pull
update the remote codeExecute
git status
Follow the prompts to resolve conflicting filesThen
git add -A && git commit
submit the version that resolves the conflictNow the version will be clean