GithubHelp home page GithubHelp logo

rboonzaijer / unity-quickstart Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 52 KB

A quick starting point to store any new Unity project in GIT with LFS

Batchfile 100.00%
unity unity-git unity-gitignore unity-git-lfs unity-gitattributes unity-lfs unity-quick-start

unity-quickstart's Introduction

Unity Quickstart (with GIT/LFS)

Add to existing GIT (non-lfs) project

Add to existing non-git project

curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/.gitattributes
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/.gitconfig
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/.gitconfig---2021.3.13f1
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/.gitconfig-update-version.bat
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/.gitignore
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/git-lfs-logo.png
curl -O https://raw.githubusercontent.com/rboonzaijer/unity-quickstart/main/all-unity-root-files/readme.md
  • Doubleclick on '.gitconfig-update-version.bat' to automatically read + update the version in .gitconfig
git init
git lfs install
git add .
git commit -m "initial"
git remote add origin ssh://git@{host}:{port}/{new-repo}.git
git push -u origin main

HOWTO use existing Unity project (with GIT/LFS)

  • git clone {repository-url}

    ( lfs will already be enabled if it's enabled in the repository )

Setup client

(optional) Setup private Gitlab server

https://github.com/rboonzaijer/gitlab-docker

Project setup

  • Unity Hub > New project > {type=3D, Project Name="My New Project", Location=C:\git} > Create project

  • Edit > Project Settings:

    • [Category: Editor] Asset Serialization / Mode: “Force Text”
    • [Category: Version Control ] Mode: “Visible Meta Files”
  • File > Save Project

Git setup

More info

unity-quickstart's People

Contributors

rboonzaijer avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gieniuw

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.