Starting git guide

This commit is contained in:
via 2026-02-22 01:13:40 +00:00
parent d6082a1699
commit e0888d54c0
1 changed files with 16 additions and 0 deletions

16
GitUsage Normal file
View File

@ -0,0 +1,16 @@
# From Scratch
## Create a new repo
Name it yourmission.mapname eg FashionPolice.gm_weferlingen_summer
## Clone your repo
From command line, while in Documents\Arma 3 - Other Profiles\myname\missions: git clone https://devteam.austac.net/AusTac/FashionPolice.gm_weferlingen_summer
Or clone using your GUI of choice to that location
Tip: while in windows file explorer, type cmd.exe into the path bar to open command line in that folder
## Copy a blank mission.sqm into the repo
Make a new mission (on the same map), name it blank.mapname. Save it unbinarized, then copy the sqm into the repository folder.
At this point I also open the sqm up in notepad and change sourceName to my mission name.
## Commit and Push your intial mission.sqm
From command line: git add mission.sqm
git commit -m "Added initial mission"
git push