Last active
June 20, 2025 21:27
-
-
Save sephraim/362136dff28c623e4460a26fbbc1ce8b to your computer and use it in GitHub Desktop.
[Resolve merge conflicts in dist/ directory] Ignore incoming merge conflicts for dist/ files and just use "ours"
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
# Pull in changes | |
# NOTE: This is what will cause the merge conflicts | |
git pull --rebase origin develop | |
# Force resolve dist/ conflicts by using "ours" | |
git checkout --ours dist | |
git add dist | |
git rebase --continue | |
# Regenerate dist/ files | |
bin/generate-dist-files.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment