Created
June 14, 2017 19:43
-
-
Save mandx/9bb82c43b173330e541ecef8255a3806 to your computer and use it in GitHub Desktop.
This file contains 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
# From https://github.com/yarnpkg/yarn/issues/1776#issuecomment-269539948 | |
# The approach that has worked for me so far is this: | |
git rebase origin/master | |
# When the first conflict arises, I checkout the yarn.lock then re-perform the installation | |
git checkout origin/master -- yarn.lock | |
yarn install | |
# This generates a new yarn.lock based on the origin/master version of yarn.lock, but | |
# including the changes I made to my package.json. Then it's just a matter of: | |
git add yarn.lock | |
git rebase --continue | |
# And I'm back in business. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment