Jump to content

GIT Cheat Sheet: Difference between revisions

From tmplab
Phil (talk | contribs)
No edit summary
Phil (talk | contribs)
No edit summary
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 15:25, 1 October 2008

Basic commands

Creating

git init

Adding a file

git add <filename>

Committing changes

git commit

Seeing changes

git log


References