chore: Clean up old files
This commit is contained in:
53
GIT_CONNECTION_FIX.md
Normal file
53
GIT_CONNECTION_FIX.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# 🔧 Git Connection Fix
|
||||
|
||||
## Issue
|
||||
```
|
||||
fatal: unable to access 'https://git.dk0.dev/denshooter/portfolio/':
|
||||
Failed to connect to git.dk0.dev port 443 after 75002 ms: Couldn't connect to server
|
||||
```
|
||||
|
||||
## Solutions
|
||||
|
||||
### Option 1: Check Server Status
|
||||
The server is reachable via HTTP (tested), but Git might need authentication.
|
||||
|
||||
### Option 2: Configure Git Credentials
|
||||
```bash
|
||||
# Store credentials
|
||||
git config --global credential.helper store
|
||||
|
||||
# Or use keychain (macOS)
|
||||
git config --global credential.helper osxkeychain
|
||||
```
|
||||
|
||||
### Option 3: Use Personal Access Token
|
||||
1. Go to: https://git.dk0.dev/user/settings/applications
|
||||
2. Generate a new token
|
||||
3. Use it when pushing:
|
||||
```bash
|
||||
git push https://YOUR_TOKEN@git.dk0.dev/denshooter/portfolio.git
|
||||
```
|
||||
|
||||
### Option 4: Check Firewall/Network
|
||||
- Port 443 might be blocked
|
||||
- Try from different network
|
||||
- Check if VPN is needed
|
||||
|
||||
### Option 5: Use SSH (if port 22 opens)
|
||||
```bash
|
||||
git remote set-url origin git@git.dk0.dev:denshooter/portfolio.git
|
||||
```
|
||||
|
||||
## Current Status
|
||||
- Remote URL: `https://git.dk0.dev/denshooter/portfolio.git`
|
||||
- Server reachable: ✅ (HTTP works)
|
||||
- Git connection: ⚠️ (May need credentials)
|
||||
|
||||
## Quick Test
|
||||
```bash
|
||||
# Test connection
|
||||
curl -I https://git.dk0.dev
|
||||
|
||||
# Test Git
|
||||
git ls-remote https://git.dk0.dev/denshooter/portfolio.git
|
||||
```
|
||||
Reference in New Issue
Block a user