sahilrajput03

Learn git

For older notes: https://sahilrajput03.github.io/Git_and_GitHub.html

show all branch

git branch: Prints all branches and * indicated is the current branch.

Creating new branch

git branch test : will make test named branch.

git branch somebranch SourceBranchHere will make somebranch named branch.

switching to other branch

git checkout branchName

logs

git log