Skip to content

Resolving merge conflicts for PRs opened before Oct' 4 #4539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pmeier opened this issue Oct 5, 2021 · 0 comments
Open

Resolving merge conflicts for PRs opened before Oct' 4 #4539

pmeier opened this issue Oct 5, 2021 · 0 comments

Comments

@pmeier
Copy link
Collaborator

pmeier commented Oct 5, 2021

After #4384 was merged on Oct' 4, we now use ufmt to format our code base and enforce this code style on every PR. In case you opened a PR before that, you will likely see merge conflicts popping up. Here is what you do:

$ git checkout main
$ git pull
$ git checkout $MY_FEATURE_BRANCH
$ git merge -X ours main
$ pre-commit run --all-files
$ git commit -am "fix code format"
$ git push

This should work for most cases. If you encounter any issues with that, feel free to ping @pmeier on your PR to help you fix it.

@pmeier pmeier pinned this issue Oct 5, 2021
@datumbox datumbox unpinned this issue Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant