PlaceholderGames / 2ndYearHelpDesk

Where the important help requests and general questions get asked by CS2S561 students
0 stars 1 forks source link

Step by step guide on using Git GUI #16

Open KatherineUni opened 6 years ago

KatherineUni commented 6 years ago

How to use Git GUI.

Downloading and Uploading the Master Branch

Open Git GUI. Select Clone Existing Branch Source location. • Go to a branch and select “Clone or Download”. • Copy the link and paste this into the source location. Target directory • Go to a folder where you would like the files to be downloaded to. • Don’t create a folder, leave this bit blank. o When selected at the end of the path add /FILENAME (make FILENAME whatever you want the folder to be called.) • Press clone.

Keep Git GUI open.

After you have worked with the files, you will want to upload the newest version of those files. Go back to Git GUI. • Press Rescan. • Go to the folder where you have the files you have been working on. • Open .gitignore • Add in the details of everything you don’t want re-uploaded (stuff you have not changed) o Ie. (Bunny Game/Assets/Prefabs o Bunny Game/Assets/Sprites o Bunny Game/Assets/Textures*) • Save and close .gitignore • Open readme.md in Notepad o Add an explanation of what has changed. This helps all users know what has changed. o Save and close. • Press Rescan. • Check that all your changes are there and that you are only uploading the files required. • Press stage changed. o If needed, press continue. • Everything should have moved to Staged Changes. • Add a commit message. o This can be the same/similar to the readme message. • Press Commit. • Press Push. • Check if the directory is the one you want in the message box, and press push.

It should have worked :D Transcribed by Katherine Axten from instructions given by James Hopkins.