How to use GitHub Desktop Tutorial

Step 1
Go to github.com and Click Sign in if you have an account or Sign up if you don't have an account.
1
Step 2
Open GitHub Desktop
2
Step 3
Go to File > Options..
3
Step 4
Click Sign In for github.
4
Step 5
Go back to github.com, click on your profile on the upper right corner of the screen.
5
Step 6
Now let's upload a Unity project! Locate your unity project or create a Unity project. Remember the file location!!!
6
Step 7
This project was saved in Documents, so it would be located here in the documents folder.
7
Step 8
[To Upload(first time)] Go to Github desktop, go to File > Add local repository...
8
Step 9
[To Upload(first time)] Click choose. To find your project folder.
9
Step 10
Once you found your project folder, click it to open it until you see all your project stuff, and click Select Folder.
10
Step 11
[To Upload(first time)] When this box shows up, click on the blue text that says create a repository.
11
Step 12
[To Upload(first time)] Leave everything as is and go ahead and click Create repository.
Temp1543536995
Step 13
[To Upload(first time)] Make sure the current repository is correct and then click Publish repository
Temp1543537096
Step 14
[To Upload(first time)] Click Publish repository when this box shows up.
Temp1543537141
Step 15
Go back to your profile on github.com. Click on repositories to see your uploaded projects. Click on your project.
Temp1543537270
Step 16
Your files are now uploaded!
Temp1543537456

Note: Asset folder is not on github because it's empty.

Step 17
[How to save your project] Let's do a change and then re-upload it. Let's add anything to your project folder.
Temp1543537583

I added a file and added a material in unity

Step 18
[How to save your project] Go back to Github Desktop to see all the recent changes appear!
Temp1543537654
Step 19
[How to save your project] In the Summary box, type a short sentence saying what has changed
Temp1543537742
Step 20
[How to save your project] Click Commit to master
Temp1543537780
Step 21
[How to save your project] Lastly click Push origin. This means updating any changes to your project on github.com!
Temp1543537832
Step 22
Let's go back to your github project(repo) to find the newly added changes!
Temp1543537935

Here you can see new files, the commits on each file and the time when it was uploaded.

Step 23
[To download] Let's say we're on another computer, and you want to download your project. Open Github Desktop and log in
Temp1543538290

Make sure the current repository is the project you want download. If not, click on the current repository to change it.

Step 24
[To download] Click Clone repository...
Temp1543538348
Step 25
[To download] Select your project to download(clone).
Temp1543538786
Step 26
[To download] Click Choose... to pick a place to download the files to.
Temp1543538838
Step 27
[To download] For example I click Desktop so it will be downloaded to the desktop. Click Select Folder.
Temp1543539110
Step 28
[To download] Click Clone once you checked that everything is where you want it to be.
Temp1543539280
Step 29
Now we can find your project from Github on your computer!
Temp1543539378
Information
Step 30
A few Useful notes.

If you updated your project on another computer and only want to download the new changes to your current computer. You don't have to clone it again, you can just click pull.

Temp1543539543

If you changed any files of your existing project, you can just click Push instead of creating a new local repository.

Temp1543540084

If you are trying to upload a unity project "with" Unity currently opened. It will not let you. This is because when Unity is opened, your project folder will temporarily have a UnityLock file. To solve this, Close both Unity and Visual Studio and try again.

Temp1543539778
How to use GitHub Desktop Tutorial Info

Account

MVCode Clubs

Created By

Nepgear tina (instructor)

Access Level

public

For Teachers and Schools

Teach coding to your students with MVCode Teach

MVCode offers an integrated product designed to teach coding to students.

Learn more about MVCode Teach