Rashi Phal – GitHub Commands


GitHub Commands

(1) Initialize Git Inside Your Project Folder

git init

(2) Check Status

git status

(3) Add All Files

git add .

(4) Commit The Changes

git commit -m "Initial commit"

(5) Connect To GitHub

git remote add origin <your_repo_url>

(6) Verify Remote Added

git remote -v

(7) Push Code To GitHub

git push -u origin main

Leave a Reply

Your email address will not be published. Required fields are marked *