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.
Temp1549669815
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!!!
Temp1549670540
Step 7
This project was saved in Documents, so it would be located here in the documents folder.
Temp1549670628
Step 8
[To Upload(first time)] Go to Github desktop, go to File > Add local repository...
Temp1549670703
Step 9
[To Upload(first time)] Click choose. To find your project folder.
Temp1549670742
Step 10
Once you found your project folder, click it to open it until you see all your project stuff, and click Select Folder.
Temp1549670780
Step 11
[To Upload(first time)] When this box shows up, click on the blue text that says create a repository.
Temp1549670823
Step 12
[To Upload(first time)] Leave everything as is and go ahead and click Create repository.
Temp1549670860
Step 13
[To Upload(first time)] Make sure the current repository is correct and then click Publish repository
Temp1549677650
Step 14
[To Upload(first time)] Click Publish repository when this box shows up.
Temp1549677724
Step 15
Go back to your profile on github.com. Click on repositories to see your uploaded projects. Click on your project.
Temp1549677800
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.
Temp1549677973

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!
Temp1549678732
Step 19
[How to save your project] In the Summary box, type a short sentence saying what has changed
Temp1549678764
Step 20
[How to save your project] Click Commit to master
Temp1549678783
Step 21
[How to save your project] Lastly click Push origin. This means updating any changes to your project on github.com!
Temp1549678808
Step 22
Let's go back to your github project(repo) to find the newly added changes!
Temp1549678863

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
Temp1549678903

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...
Temp1549678931
Step 25
[To download] Select your project to download(clone).
Temp1549678988
Step 26
[To download] Click Choose... to pick a place to download the files to.
Temp1549679006
Step 27
[To download] For example I click Desktop so it will be downloaded to the desktop. Click Select Folder.
Temp1549679038
Step 28
[To download] Click Clone once you checked that everything is where you want it to be.
Temp1549679109
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

premium

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