Skip to content

Instantly share code, notes, and snippets.

View jenipharachel's full-sized avatar

Jenipha Rachel jenipharachel

View GitHub Profile

Git Cheat Sheet

Basic commands

git init Creates a new git repository in the directory

git add <file name> Adds a specific file to staging

git add . or git add -A Adds the full directory and its contents to staging