Difference between revisions of "Git reference"
From thelinuxwiki
(→links) |
|||
Line 20: | Line 20: | ||
[http://sixrevisions.com/web-development/introductory-guide-to-git-version-control-system/ beginner guide] | [http://sixrevisions.com/web-development/introductory-guide-to-git-version-control-system/ beginner guide] | ||
+ | |||
+ | [http://jonas.nitro.dk/git/quick-reference.html GIT cheatsheet] | ||
[http://git-scm.com/book pro git book] | [http://git-scm.com/book pro git book] |
Revision as of 16:42, 20 November 2013
git - distributed revision control system
create repositories by creating a directory for each project. Once you are in the directory,
# git init
Adding Files to the Repository
git add *
or
git add filename.txt
Committing Files The Git add command is normally followed immediately by the Git commit command.
committing creates a snapshot
git commit -a -m "This is my commit message!"