# GitHub Web Login Setup - Manual Instructions

## Step 1: Install GitHub CLI

```bash
# On Debian/Ubuntu
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh -y
```

## Step 2: Authenticate with GitHub (Web Browser)

```bash
gh auth login
```

This will:
1. Prompt you to choose GitHub.com
2. Choose "HTTPS" or "SSH" (HTTPS recommended for web login)
3. Choose "Login with a web browser"
4. Open your browser automatically
5. Authorize the GitHub CLI

## Step 3: Configure Git to Use GitHub CLI

```bash
gh auth setup-git
```

This configures Git to use GitHub CLI for authentication.

## Step 4: Push Your Changes

```bash
cd /home/intlc/projects/proxmox/pr-workspace/chains
git push origin update-chainid-138-rpc-endpoints
```

---

## Alternative: Quick Manual Setup

If you prefer not to install GitHub CLI, you can use a Personal Access Token:

1. **Create Token**: https://github.com/settings/tokens
   - Click "Generate new token (classic)"
   - Name: "PR Workspace"
   - Select scope: `repo`
   - Generate and copy token

2. **Push with token**:
   ```bash
   cd /home/intlc/projects/proxmox/pr-workspace/chains
   git push origin update-chainid-138-rpc-endpoints
   ```
   - Username: `defiQUG`
   - Password: Your Personal Access Token

---

**Last Updated**: 2025-12-24

