Creating a GitHub Repo for Unity
Creating a GitHub repo for unity is as simple as making a turkey sandwich. Perhaps even simpler as you may think! I am assuming that you already signed up for a GitHub account. If not, then what are you waiting for?
Sign up here!
I will show you the way!
- Go to your GitHub account.
On the upper left corner, click on the “Create repository” button.
2. Fill out the name of the repository. In this case, for me, it’s “Version Control Example.” You can also add a description.
3. Make it public if you plan on showing your repo to the world. Make it private if you want only you or those you invite into the repo.
4. Add a .gitignore for files that you don’t want to track. In this case, our project is a Unity3D based repo. We are lucky to have “Unity” as an available option!
Unity has a lot of files we don’t want to commit, especially when working on a team. So we add a .gitignore file into the project directory.
The other options we won’t be touching.
Hit the “Create Repository” button.
Congratulations! We successfully created our first GitHub repo! The image down below is how a freshly-new repo page looks like in GitHub.
In my next article, I will show you how to link GitHub with your local project.