ishar19 / git-notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check for git version git --version

How to initalise a git repo, how to enable git git init

How to make a new branch git branch <branch-name>

How to view the branches git branch

How to switch to different branch git switch <branch-name>

How to create a new branch and switch at the same time git checkout -b <branch-name>

Tracking/knowing which files to put git add <file-1> <file-2> <file-3> for tracking everything git add .

Putting commit/finalising version of code git commit -m <commit-message>

Pushing code to github git push

upstream mean from local to remote and vice versa

About