63 lines
1.2 KiB
Markdown
63 lines
1.2 KiB
Markdown
# 🔐 Quick Authentication Setup
|
|
|
|
## The Issue
|
|
Git is asking for credentials but authentication is failing.
|
|
|
|
## ✅ Quick Solution: Use Personal Access Token
|
|
|
|
### Step 1: Generate Token (1 minute)
|
|
1. Go to: https://gitea.hideawaygaming.com.au/user/settings/applications
|
|
2. Click **"Generate New Token"**
|
|
3. Token Name: `Family Hub CLI`
|
|
4. Scopes: Check **"repo"** (Full control of private repositories)
|
|
5. Click **"Generate Token"**
|
|
6. **COPY THE TOKEN** - You won't see it again!
|
|
7. Save it somewhere safe (like a password manager)
|
|
|
|
### Step 2: Use Token as Password
|
|
When Git asks for credentials:
|
|
- **Username**: `jessikitty`
|
|
- **Password**: [paste your token here]
|
|
|
|
---
|
|
|
|
## 🚀 Now Run This
|
|
|
|
```bash
|
|
FORCE_PUSH_NOW.bat
|
|
```
|
|
|
|
Enter your token when prompted, and you're done!
|
|
|
|
---
|
|
|
|
## 💡 Alternative: Cache Credentials
|
|
|
|
To avoid entering credentials every time:
|
|
|
|
```bash
|
|
cd D:\Hosted\familyhub
|
|
git config credential.helper store
|
|
```
|
|
|
|
Then push once with your token - Git will remember it!
|
|
|
|
---
|
|
|
|
## ⚡ One-Liner Push
|
|
|
|
If you want to do it manually:
|
|
|
|
```bash
|
|
cd D:\Hosted\familyhub
|
|
git merge --abort
|
|
git add .
|
|
git commit -m "Phase 3.1: Complete Implementation"
|
|
git push origin main --force
|
|
```
|
|
|
|
---
|
|
|
|
_Authentication Guide_
|
|
_Just get that token and push!_ 🚀
|