Seeds

Git Commands & Repository Setup

Git Commands & Website Setup

Start

Create your repository in GitHub, name it “your-repo-name”.

cd into the folder.

To establish who is working on these files

git config --global user.name "your-name"

posted with your commits

git config --global user.email "your-email"

To set the color of git in CLI (optional)

git config --global color.ui auto

To establish a local repository on your pc

git init

Establish the remote repository

git remote add origin [https://github.com/your-username/your-repo-name.git]

Add and commit

git add .
git commit -m "Your first meaningful commit message"

Push to GitHub (use -u only on the first push)

git push -u origin main

More Notes