PUSH_TO_GITHUB.txt•6.87 kB
┌─────────────────────────────────────────────────────────────────┐
│ GITHUB PUSH CHEAT SHEET │
│ Bedrock Prompts MCP Server v0.2.0 │
└─────────────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════════════
OPTION 1: AUTOMATED SCRIPT (EASIEST)
═══════════════════════════════════════════════════════════════════
cd /path/to/bedrock-prompts-mcp
./setup_github.sh YOUR_GITHUB_USERNAME
Then follow the prompts!
═══════════════════════════════════════════════════════════════════
OPTION 2: MANUAL STEPS (5 MINUTES)
═══════════════════════════════════════════════════════════════════
1️⃣ CONFIGURE GIT (first time only)
───────────────────────────────────────────────────────────────────
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
2️⃣ INITIALIZE LOCAL REPOSITORY
───────────────────────────────────────────────────────────────────
cd /path/to/bedrock-prompts-mcp
git init
git add .
git commit -m "Initial commit: Bedrock Prompts MCP Server v0.2.0"
3️⃣ CREATE GITHUB REPOSITORY
───────────────────────────────────────────────────────────────────
Go to: https://github.com/new
Settings:
• Name: bedrock-prompts-mcp
• Description: MCP server for AWS Bedrock managed prompts
• Public or Private: Your choice
• ✗ DON'T initialize with README, .gitignore, or license
Click "Create repository"
4️⃣ CONNECT AND PUSH
───────────────────────────────────────────────────────────────────
Replace YOUR_USERNAME below with your GitHub username:
git remote add origin https://github.com/YOUR_USERNAME/bedrock-prompts-mcp.git
git branch -M main
git push -u origin main
5️⃣ VERIFY
───────────────────────────────────────────────────────────────────
Visit: https://github.com/YOUR_USERNAME/bedrock-prompts-mcp
═══════════════════════════════════════════════════════════════════
OPTION 3: GITHUB CLI (FASTEST)
═══════════════════════════════════════════════════════════════════
cd /path/to/bedrock-prompts-mcp
# Login once
gh auth login
# Initialize and push in one command
git init
git add .
git commit -m "Initial commit: Bedrock Prompts MCP Server v0.2.0"
gh repo create bedrock-prompts-mcp --public --source=. --remote=origin --push
═══════════════════════════════════════════════════════════════════
MAKING UPDATES LATER
═══════════════════════════════════════════════════════════════════
# Edit files, then:
git add .
git commit -m "Description of changes"
git push
═══════════════════════════════════════════════════════════════════
TROUBLESHOOTING
═══════════════════════════════════════════════════════════════════
❌ "Permission denied (publickey)"
→ Use HTTPS URL instead:
git remote set-url origin https://github.com/USER/REPO.git
❌ "Updates were rejected"
→ Pull first: git pull origin main --rebase
→ Then push: git push
❌ "Repository already exists"
→ Choose different name or delete existing repo
═══════════════════════════════════════════════════════════════════
USEFUL COMMANDS
═══════════════════════════════════════════════════════════════════
git status # See what's changed
git diff # See actual changes
git log --oneline # View commit history
git remote -v # View remote URL
git branch # List branches
═══════════════════════════════════════════════════════════════════
AFTER PUSHING
═══════════════════════════════════════════════════════════════════
1. Add topics on GitHub:
• mcp, bedrock, aws, claude, python, ai
2. Create first release:
git tag v0.2.0
git push --tags
3. Share the repo!
═══════════════════════════════════════════════════════════════════
Your repository will be at:
https://github.com/YOUR_USERNAME/bedrock-prompts-mcp
Good luck! 🚀