-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig_sample
More file actions
22 lines (17 loc) · 855 Bytes
/
gitconfig_sample
File metadata and controls
22 lines (17 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# To make sure that unity scenes merge automatically, change the name of this file
# to ".gitconfig" and change <path to UnityYAMLMerge> to the path to the
# Unity YAML Merge file, which automatically merges scenes.
# In Unity for Windows, find your Unity version folder and go to:
# Editor -> Data -> Tools -> UnityYAMLMerge.exe OR
# Editor\Data\Tools\UnityYAMLMerge.exe
# In Unity for MacOS, find your Unity version folder and go to:
# Unity.app -> Contents -> Tools -> UnityYAMLMerge OR
# Unity.app/Contents/Tools/UnityYAMLMerge
# Remember, you need to copy the WHOLE path. If you don't know what this is,
# I'll explain it to you. Also, please COPY this file before commiting
# again.
[merge]
tool = unityyamlmerge
[mergetool "unityyamlmerge"]
trustExitCode = false
cmd = '<path to UnityYAMLMerge>' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"