Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddim03/workflow-git-and-github
Penjelasan alur kerja saat proses development aplikasi
https://github.com/ddim03/workflow-git-and-github
Last synced: 9 days ago
JSON representation
Penjelasan alur kerja saat proses development aplikasi
- Host: GitHub
- URL: https://github.com/ddim03/workflow-git-and-github
- Owner: ddim03
- Created: 2023-11-12T01:26:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-28T22:26:58.000Z (10 months ago)
- Last Synced: 2024-11-14T10:33:57.914Z (2 months ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Workflow With Git & Github
Penjelasan tentang alur kerja saat proses development aplikasi
- Clone project sesuai arahan di github
- Buat branch baru sesuai tugas yang di assign
- Pindah ke branch yang baru saja dibuat
- Kerjakan jobdesk (coding)
- Jika sudah selesai silahkan di commit (disimpan)
- Lalu push (upload) kode ke github
- Lakukan pull request di github## Git Commands
Membuat branch baru
```bash
git branch
```
Pindah ke branch yang diinginkan
```bash
git switch
```Memindah perubahan ke staging area
```bash
git add .
```Commit / simpan hasil kerja
```bash
git commit -m "pesan commit"
```Push / upload hasil kerja ke github
```bash
git push -u origin
```
## Konvensi penamaan branch
Branch untuk fitur baru
```bash
feat/
contoh : git branch feat/home || git branch
```Branch untuk memperbaiki bug
```bash
fix/
contoh : git branch fix/home || git branch
```Branch untuk merefactor kode
```bash
refactor/
contoh : git branch refactor/home || git branch
```## Konvensi pesan commit
Contoh pesan commit
```bash
tipe(detail): pesan commit
contoh : git commit -m "feat(home): menambah input search pengumuman"
```