Git Commands Cheet Sheet

Initialise repo

git init . - Create new repo in the current folder

git init REPO-NAME - Create new repository in a new folder REPO-NAME

  • Fill in the blanks!

Stage Changes

Commit Changes

Show Commit Details

Show Log of Commits

Configure the Current Repo's User NAME

Configure the Current Repo's User Email

Configure the Global User NAME

Configure the Global User Email

Get Status of the Project