GIT Cheat Sheet
From Tmplab
(Difference between revisions)
| Line 1: | Line 1: | ||
| - | * 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 | ||
| - | Creating | + | = Basic commands = |
| + | == Creating == | ||
git init | 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 | ||
| + | * Another good one: http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git | ||
Revision as of 15:25, 1 October 2008
Contents |
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
- Another good one: http://toolmantim.com/article/2007/12/5/setting_up_a_new_rails_app_with_git

