Jump to content

GIT Cheat Sheet: Difference between revisions

From tmplab
Phil (talk | contribs)
Phil (talk | contribs)
Line 10: Line 10:


== Committing changes ==
== Committing changes ==
  git commit
  git commit -m <message>


== Seeing changes ==
== Seeing changes ==

Revision as of 17:35, 16 October 2008

Basic commands

Creating

git init

Adding files

git add <filename>

or to commit all files in current directory:

git add .

Committing changes

git commit -m <message>

Seeing changes

git log


References