Skip to main content

Command Palette

Search for a command to run...

Git and GitHUb

Published
1 min readView as Markdown

Important commands

git init

git add <>

git add .

git commit -m ““

git rm - - cache

git restore <>

git config - - global username <>

git config - - global user.email <>

git log

git log - - oneline

git status

git branch

git checkout -b <newbranchname>

git checkout <branchname> / git switch <branchname>

git merge <branchname>