51 lines
1.8 KiB
Markdown
51 lines
1.8 KiB
Markdown
|
# spatial theory and level design: assignment 1
|
|||
|
|
|||
|
proof of concept and test repository for pushing beeg repositories to 𝓁𝒶 𝓅𝑜𝒾𝓈𝓈𝑜𝓃 𝒹𝓊 𝒻𝑜𝓇𝑔𝑒
|
|||
|
|
|||
|
## how do i add _my_ repository?
|
|||
|
|
|||
|
1. manage your git repo with github desktop or via the command line
|
|||
|
|
|||
|
![gh desktop](https://forge.joshwel.co/mark/stld-asg1/raw/branch/main/Documentation/Screenshot%202024-06-05%20095930.png)
|
|||
|
|
|||
|
2. add git files files to the repository root/folder
|
|||
|
|
|||
|
- [.gitignore](https://forge.joshwel.co/mark/unity/raw/branch/main/.gitignore)
|
|||
|
- [.gitattributes](https://forge.joshwel.co/mark/unity/raw/branch/main/.gitattributes)
|
|||
|
|
|||
|
2. open your repository in the terminal
|
|||
|
|
|||
|
![gh desktop](https://forge.joshwel.co/mark/stld-asg1/raw/branch/main/Documentation/Screenshot%202024-06-05%20095930.png)
|
|||
|
|
|||
|
3. make a repo and follow the forge's instructions
|
|||
|
|
|||
|
> [!IMPORTANT]
|
|||
|
> if the project has a github deliverable, you must have different remote names \
|
|||
|
> i would recommend `origin` pointing to github, and `forge` pointing to the forge
|
|||
|
|
|||
|
![forge instructions](https://forge.joshwel.co/mark/stld-asg1/raw/branch/main/Documentation/Screenshot%202024-06-05%20100151.png)
|
|||
|
|
|||
|
4. profit
|
|||
|
|
|||
|
for best results, use remote name `origin` for github, and `forge` for 𝓁𝒶 𝓅𝑜𝒾𝓈𝓈𝑜𝓃 𝒹𝓊 𝒻𝑜𝓇𝑔𝑒
|
|||
|
|
|||
|
![instructions](https://forge.joshwel.co/mark/stld-asg1/raw/branch/main/Documentation/Screenshot%202024-06-05%20101101.png)
|
|||
|
|
|||
|
```text
|
|||
|
# push changes to github
|
|||
|
git push origin main
|
|||
|
|
|||
|
# push changes to forge
|
|||
|
git push forge main
|
|||
|
```
|
|||
|
|
|||
|
same things apply to pulling
|
|||
|
|
|||
|
have fun!
|
|||
|
|
|||
|
## i previously didn't have .gitattributes, what now
|
|||
|
|
|||
|
it's a very involved process, and git is scary.
|
|||
|
|
|||
|
oh well, give up. restart your git repo if you can, else oops
|