TKK_E32231761/PUSH_TO_GITHUB.md

70 lines
948 B
Markdown

# 🚀 Push Web Javaherbal ke GitHub
## 📋 COMMAND SIAP PAKAI
Copy-paste command ini satu per satu:
### 1. Masuk ke Folder Web
```bash
cd javaherbal-v2/javaherbal2
```
### 2. Initialize Git
```bash
git init
```
### 3. Add All Files
```bash
git add .
```
### 4. Commit
```bash
git commit -m "Initial commit - Web Javaherbal dengan auth backend"
```
### 5. Add Remote (Repository: frondend-web)
```bash
git remote add origin https://github.com/flemss/frondend-web.git
```
### 6. Set Branch ke Main
```bash
git branch -M main
```
### 7. Push ke GitHub
```bash
git push -u origin main
```
---
## ✅ SELESAI!
Repository: https://github.com/flemss/frondend-web
**Next:** Deploy ke Vercel!
---
## 🔄 UPDATE SETELAH PUSH PERTAMA
Jika ada perubahan code:
```bash
cd javaherbal-v2/javaherbal2
# Add changes
git add .
# Commit
git commit -m "Update: deskripsi perubahan"
# Push
git push origin main
```
Vercel akan auto deploy! 🚀