From af1b7e8429852828390bf32c0f364ff79d177e09 Mon Sep 17 00:00:00 2001 From: EliteAsian Date: Mon, 1 May 2023 13:02:20 -0400 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 448088968..c64023e9b 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,28 @@ Windows: 7. (You may need to) click on `NuGet` on the menu bar, then click on `Restore Packages`. 8. You're ready to go! +> **Note** +> +> If you plan on merging branches, I highly recommend following these instructions for easier merges. + +Setup: +1. Open a command prompt to the repository (on VS Code you can do Terminal > New Terminal) +2. Type in `git config --local --edit` +3. In the file that gets opened, go to the bottom and paste this in: (You may need to change the file path depending on where you installed Unity to) +``` +[merge] + tool = unityyamlmerge +[mergetool "unityyamlmerge"] + trustExitCode = false + cmd = 'C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.21f1\\Editor\\Data\\Tools\\UnityYAMLMerge.exe' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED" +``` +4. Save and close the file. + +Resolving conflicts: +1. Start the merge/cherry-pick which is causing conflicts. +2. If the conflict doesn't resolve automatically, open the command prompt and use `git merge-tool`. +3. Verify that the conflict was resolved correctly, then commit/continue the merge. + # ✍️ Contributing If you want to contribute, please feel free! Please join [our Discord](https://discord.gg/sqpu4R552r) if you want your PR/Art merged.