Halo teman - teman semua, berikut tutorial untuk menjalakan aplikasi swiftnyaaa :D
Teman teman bisa update OS nya dulu yeaah (kalo ada)!
- Clone terlebih dahulu github repository
git clone https://github.com/Quack-Fight/QuackFight.git- Buka folder project
cd QuackFight- Selamat mengerjakan!!
- Jangan lupa untuk selalu rely dan update Github Projects
- Di github project, pilih draft issue yang ingin dikerjakan, lalu bisa diklik titlenya

- Di bagian kanan bawah, terdapat tombol convert to issue, jangan lupa untuk membuat memilih repo QuackFight

- Setelah issue berhasil tercreate, maka kita bisa memulai development phase dengan membuat branch dari issue tersebut, dengan klik "Create a branch" di bagian "Development" di kanan bawah issue tersebut.

- Pastikan untuk tidak mengubah nama branch untuk menjaga konsistensi
- Selanjutnya, kalian bisa melakukan
git checkout <nama-branch>untuk memulai development di branch tersebut - Happy Working!
- Jika sudah selesai development di issue tersebut, maka bisa melakukan Pull Request dengan source branch adalah branch di issue tersebut, dan target branch adalah ke
staging - Jika review sudah aman, pastikan merging ke branch staging menggunakan "Squash and Merge" untuk menjaga history repository clean and makes it easier to track or revert changes
git add .
git commit -m "feat: adding AimingState"
git push origin <nama-branch>
Harus menggunakan conventional commits!
dengan format tipe: deskripsi
- API or UI relevant changes
featCommits, that add or remove a new feature to the API or UIfixCommits, that fix an API or UI bug of a precededfeatcommit
refactorCommits, that rewrite/restructure your code, however do not change any API or UI behaviourperfCommits are specialrefactorcommits, that improve performance
styleCommits, that do not affect the meaning (white-space, formatting, missing semi-colons, etc)testCommits, that add missing tests or correcting existing testsdocsCommits, that affect documentation onlybuildCommits, that affect build components like build tools, dependencies, project version, ci pipelines, ...opsCommits, that affect operational components like infrastructure, deployment, backup, recovery, ...choreMiscellaneous commits e.g. modifying.gitignore
git pull
git pull origin (branch) // untuk pull dari branch laingit pull --rebase origin <nama-branch>
git push --force-with-lease- Pastikan untuk meresolve semua conflict thoughtfully jika ada.