git-gud/guides/git_setup.md
2023-11-01 16:09:54 -04:00

1.9 KiB

Setting up Git

Git comes pre-installed on Linux systems, but not Windows. Thus, you'll have to install it manually.

It comes in a couple flavors, my favorite being the terminal, but we'll stick to UI for now so it's easier to tell what's going on.

GitHub Desktop

First, download GitHub Desktop.

Upon running it, it should ask you to sign in. Skip this step.

Now, configure git using your credentials from Gitea; use your corresponding name and email as shown below. Letter-case matters.

Setting up a Repository

You should now get a screen that looks like this.

All of our project data is stored on the "cloud" (an SD card running on a tiny computer)? To get the files for yourself, you need to "clone" the repository.

To do this, go to the desired repository page on Gitea, then find the HTTP URL for git.

Then go to the URL tab, and paste the URL into here. Choose a folder location you can easily find. The folder should be empty.

When you're ready, hit "Clone." This will download the Unreal Engine project folder. If the project asks you to Initialize Git LFS, do it. It's necessary for proper file storage.

You should now get something like this. If you want to browse the project files locally, click on "Show in Explorer."

Finally, you need to also clone down the assets as well if you're working on the art team. Clone down a new repository.

Repeat the same process, but instead use the triple-aaa-games/assets repository URL. After that, you should be good!

Git for Unreal Engine

WORK IN PROGRESS. You only need to perform this setup if you plan on working inside Unreal Engine.