Created
July 2, 2021 07:19
-
-
Save nitinbhojwani/e552956b5045fc0d18880c34288f3541 to your computer and use it in GitHub Desktop.
Resolve git merge conflicts with poetry.lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pick the change from the branch just merged | |
git checkout --theirs poetry.lock | |
# Update poetry.lock from pyproject.toml without any update | |
poetry lock --no-update | |
# Yey! the conflict is resolved and poetry.lock is updated with correct hash. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment