First page Back Continue Last page Overview Text

Notes:


To move changes from your working directory into the staging area, use “git add”.

To make a new snapshot from the staging area, use “git commit”. Use “git commit -a” to make a new commit directly from all changed files in the working directory.

Use “git log” to get a list of all commits on the current branch.

“gitk” is a nice GUI version of this, that also draws a nice graph of the relationship between commits.

Finally, “git status” gives you a summary of the current staged and unstaged changes.