Add GitHub repository setup instructions to README

This commit is contained in:
anas-rashid 2026-04-03 20:03:27 +02:00
parent 831b650111
commit d8fda9fe5d

View File

@ -119,3 +119,63 @@ If you encounter issues:
![Quadratic Plotter Screenshot](screenshot.png)
*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
```