Skip to main content Link Search Menu Expand Document (external link)

Support: git CLI Cheatsheet

COMMAND FUNCTION
git add –all Add all file modifications, additions and deletions to staging area
git commit -am “[message]” Document any changes in staging area in local version history
git push Send all commits (code changes + message) to remote repository version history
git log –oneline See all commits
git status See all file modifications, additions and deletions
git pull Get any commits (code + messages) from remote repository for the current branch
git clone [url] Create a local copy of a rmeote repository