How to get started with HoloLens Seed Project?

HoloLens Seed project is a github repository that is configured for Windows Mixed Reality development. The repo includes Mixed Reality Toolkit and .gitignore files.

You can create a new project from the seed instead of downloading the different assets and setting up your git project. To be able to use the seed project, you can get a github account and setup your development environment or directly download the repository content.

Setup

You can clone and delete this repository's history and start a new git project by running the below script. You need to create your own github repo first. Replace with your own github project url.

git clone --depth=1 https://github.com/Yonet/HoloLensUnitySeedProject.git <your-project-name>

Or by running the below github commands:

// Clone the seed project
git clone --depth=1 https://github.com/Yonet/HoloLensUnitySeedProject.git

-- Remove the history from the repo
rm -rf .git

-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"

-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
git push -u --force origin master

How to update your project to latest seed?

Whenever there is a new update for Mixed Reality Toolkit or Azure Spatial Anchors packages, this repo will be updated with the latest version. You can automaticly get the latest packages by adding the seed repo as your upstream and pulling from it.

git remote add upstream https://github.com/Yonet/HoloLensUnitySeedProject.git
git pull upstream master

You can check to see if your remote origin and upstream by copy and pasting to your terminal:

git remote -v

You can remove the upstream anytime by running:

git remote remove upstream https://github.com/Yonet/HoloLensUnitySeedProject.git

Last updated