From d8fda9fe5d8e722fe3ed43f32a737262ca00d294 Mon Sep 17 00:00:00 2001 From: anas-rashid Date: Fri, 3 Apr 2026 20:03:27 +0200 Subject: [PATCH] Add GitHub repository setup instructions to README --- README.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a85456..affa43f 100644 --- a/README.md +++ b/README.md @@ -118,4 +118,64 @@ If you encounter issues: ![Quadratic Plotter Screenshot](screenshot.png) -*Note: Add your own screenshot after running the application* \ No newline at end of file +*Note: Add your own screenshot after running the application* + +## GitHub Repository Setup + +This project is already initialized as a Git repository. To push it to a private GitHub repository: + +### Option 1: Using GitHub CLI (Recommended) + +1. Install GitHub CLI if not already installed: + ```bash + # On Ubuntu/Debian + sudo apt install gh + + # On macOS + brew install gh + ``` + +2. Authenticate with GitHub: + ```bash + gh auth login + ``` + +3. Create a new private repository: + ```bash + gh repo create quadratic-plotter --private --source=. --remote=origin --push + ``` + +### Option 2: Manual Setup + +1. Create a new private repository on [GitHub.com](https://github.com/new): + - Repository name: `quadratic-plotter` (or your preferred name) + - Select "Private" + - Do NOT initialize with README, .gitignore, or license + +2. Add the remote and push: + ```bash + git remote add origin https://github.com/YOUR_USERNAME/quadratic-plotter.git + git branch -M main + git push -u origin main + ``` + +### Option 3: Using SSH + +If you prefer SSH authentication: + +1. Add your SSH key to GitHub +2. Use SSH URL: + ```bash + git remote add origin git@github.com:YOUR_USERNAME/quadratic-plotter.git + git branch -M main + git push -u origin main + ``` + +### Verification + +After pushing, verify your repository: +```bash +git log --oneline +git remote -v +git status +``` \ No newline at end of file