Table of Contents

Git Commands

Useful syntax

Please feel free to add to this page! :D

Create Things

git init Make git folder
git add <filename> Add a file
git remote add <url> Add a remote source
git commit -m “comment” Store

Save Things

git push origin <branchname> Remote repository

See Changes

git log See a summary of commits
git status See file changes
git diff Working directory changes

Delete/Undo Things

git rm <filename> Remove file
git reset Undo

Authors

Contributing authors:

jobatake kluong

Created by kluong on 2016/01/24 23:32.