Road TO Dev — First step with Unity and Git.

Rob Smith
2 min readMar 19, 2021

--

As with all projects the first step is getting setup. Starting with unity you will need to select the type of project, name it, and make sure you have the correct directory selected you want to save the project to.

Now that you have your basic project setup in Unity it’s time to setup Git! First thing is to make your repo for this project. I recommend using the project name you created as the repo name, also add gitignore and select Unity. This will help you save time on what is needed for your repo.

Let’s git init together! Now it’s time to setup your project to work with Git. First you want to make sure you are on your project on git bash.

Once you have that do git init to create the project’s repository. Now we link! Take the copied url for the repository.

Connection time! Take that copied URL and add it to your git bash usual name is origin but that is up to you!

Congrats! Now it’s time to really get to work. But do NOT forget.

PULL-COMMIT-PUSH! When you first start your project and have git setup make sure to init, you are in the right directory, AND then PULL! Need to git that gitignore right away :) Good luck!

--

--

Rob Smith
Rob Smith

Written by Rob Smith

Hi there! I am currently on the path to learn how to become a unity developer and will be documenting my journey as best as I can here. Thanks for looking!

No responses yet