# Connect This Repo to GitHub (brooke@moxieb.com) Git is configured for **brooke@moxieb.com** in this repo. Follow these steps to connect to GitHub. --- ## 1. Use Your brooke@moxieb.com GitHub Account - Log in to [github.com](https://github.com) with **brooke@moxieb.com** (or the account that uses that email). - If you use GitHub with a different email, add **brooke@moxieb.com** under **Settings → Emails** so commits show under that address. --- ## 2. Add Your SSH Key to GitHub You have an SSH key: `~/.ssh/id_ed25519_github.pub` **If this key is not yet on your brooke@moxieb.com GitHub account:** 1. Copy your public key: ```bash cat ~/.ssh/id_ed25519_github.pub ``` 2. On GitHub: **Settings → SSH and GPG keys → New SSH key** 3. Paste the key and save. **Test SSH:** ```bash ssh -T git@github.com ``` You should see: `Hi ! You've successfully authenticated...` **If you use a different key for GitHub**, ensure `~/.ssh/config` uses it for `github.com`, for example: ``` Host github.com HostName github.com User git IdentityFile ~/.ssh/id_ed25519_github ``` --- ## 3. Create a New Repository on GitHub 1. GitHub → **New repository** 2. Name it (e.g. `bsiq` or `blue-signal-iq-mvp`) 3. **Do not** add a README, .gitignore, or license (this repo already has content) 4. Create the repo and leave the “push an existing repository” instructions on the screen. --- ## 4. Remote and Push **Remote is already set:** `origin` → `git@github.com:bmoxie/bsiq.git` From your machine, in the bsiq folder: ```bash cd /Users/athenasees/Desktop/bsiq # Stage and commit (if you haven't yet) git add . git commit -m "Initial commit: Phase 1 MVP foundation" # Push to GitHub git push -u origin main ``` If the repo already has commits (e.g. from GitHub’s initial README), you may need to pull first: ```bash git pull origin main --allow-unrelated-histories # resolve any conflicts, then: git push -u origin main ``` --- ## 5. Confirm Config (Optional) - **Email for this repo:** `brooke@moxieb.com` - **Name for this repo:** `Brooke` - **Branch:** `main` Check: ```bash git config user.email # brooke@moxieb.com git config user.name # Brooke git remote -v # origin → git@github.com:... ``` --- ## Troubleshooting **Permission denied (publickey)** - Add `id_ed25519_github.pub` to GitHub (step 2). - Ensure SSH uses that key for `github.com` (e.g. in `~/.ssh/config`). **Support for password authentication was removed** - Use SSH (steps 2–4) or [Personal Access Token](https://github.com/settings/tokens) with HTTPS. **Wrong account on GitHub** - Log out and log in with brooke@moxieb.com, or add that email in GitHub **Settings → Emails**.