GithubHelp home page GithubHelp logo

warrickct / unity-scene-merging-guide Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 3 KB

Just a quick guide on how to set up scene merging for unity.

git unity scene merging unityyamlmerge tutorial guide conflicts

unity-scene-merging-guide's Introduction

unity-scene-merging-guide

Just a quick guide on how to set up scene merging for unity.

Setting up git

  1. Should be located in C:\Program Files\Unity2018.2.6f1\Editor\Data\Tools\UnityYamlMerge.exe (or something similar).

  2. Go to your global git config file. Should be located in C:\Users<your user>.gitconfig and open this file in a text editor.

  3. Append the following to the end of the .gitconfig file:

[merge]
    tool = unityyamlmerge

[mergetool "unityyamlmerge"]
trustExitCode = false
cmd = '<path to UnityYAMLMerge>' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"
  1. Download a merge tool and set it up, in my case I used diffmerge: download here

  2. Configure the merge tool to work with git. For diffmerge: instructions here

  3. At this point set up will be complete.

Using the UnityYamlMerge tool

  1. Attempt a merge a with two branches that have conflicting scene changes.

  2. Run the command git mergetool --tool=unityyamlmerge to specify the scene merging tool.

  3. Unityyamlmerge will then resolve most conflicts automatically and open up your merging tool for you to resolve remaining conflicts manually.

  4. Save and exit the merge tool, and commit the changes to complete the merge.

unity-scene-merging-guide's People

Contributors

warrickct avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.