Update git setup

This commit is contained in:
Alan O'Cull 2023-11-01 16:09:54 -04:00
parent d8f8bc148d
commit 0fd2c495ba
8 changed files with 65 additions and 0 deletions

BIN
assets/credentials.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop2.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop3.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop4.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop5.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gitdesktop6.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2,3 +2,47 @@
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](https://desktop.github.com/).
Upon running it, it should ask you to sign in. Skip this step.
![](../assets/gitdesktop1.png)
Now, configure git using your credentials from Gitea; use your corresponding name and email as shown below. Letter-case matters.
![](../assets/credentials.png)
![](../assets/gitdesktop2.png)
## Setting up a Repository
You should now get a screen that looks like this.
![](../assets/gitdesktop3.png)
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.
![](../assets/cloning_geturl.png)
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.**
![](../assets/gitdesktop4.png)
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."
![](../assets/gitdesktop5.png)
Finally, you need to also clone down the assets as well if you're working on the art team. Clone down a new repository.
![](../assets/gitdesktop6.png)
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.*