Difference between revisions of "GIT Cheat Sheet"

From Tmplab
Line 1: Line 1:
 +
 +
= Basic commands =
 +
== Creating ==
 +
git init
 +
 +
== Adding a file ==
 +
git add <filename>
 +
 +
== Committing changes ==
 +
git commit
 +
 +
== Seeing changes ==
 +
git log
 +
 +
 +
= References =
 
* Good guide: http://www.sourcemage.org/Git_Guide
 
* Good guide: http://www.sourcemage.org/Git_Guide
 
* Another good one: http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git
 
* Another good one: http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git
 
Creating:
 
git init
 

Revision as of 16:25, 1 October 2008

Basic commands

Creating

git init

Adding a file

git add <filename>

Committing changes

git commit

Seeing changes

git log


References