dotnet / format

Home for the dotnet-format command
MIT License
1.94k stars 173 forks source link

Merge release/8.x to main #1996

Closed dotnet-bot closed 1 year ago

dotnet-bot commented 1 year ago

This is an automatically generated pull request from release/8.x into main.

Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯

Troubleshooting conflicts

Identify authors of changes which introduced merge conflicts

Scroll to the bottom, then for each file containing conflicts copy its path into the following searches:

Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts.

Resolve merge conflicts using your local repo

Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub.

git fetch --all
git checkout -t upstream/merges/release/8.x-to-main
git reset --hard upstream/main
git merge upstream/release/8.x
# Fix merge conflicts
git commit
git push upstream merges/release/8.x-to-main --force