|
|
@ -1,14 +1,25 @@
|
|
|
|
GIT tutorial on kernel.org:
|
|
|
|
GIT tutorial on kernel.org:
|
|
|
|
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
|
|
|
|
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GIT "cheat sheet"
|
|
|
|
|
|
|
|
http://jonas.nitro.dk/git/quick-reference.html
|
|
|
|
|
|
|
|
|
|
|
|
GIT for those who are used to centralized SCMs:
|
|
|
|
GIT for those who are used to centralized SCMs:
|
|
|
|
http://media.pragprog.com/titles/tsgit/chap-005-extract.html
|
|
|
|
http://media.pragprog.com/titles/tsgit/chap-005-extract.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
================================================================ HOWTO ===========================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Checking out the repository for editing under your username:
|
|
|
|
|
|
|
|
git clone http://your-username@scm.trinitydesktop.org/scm/git/tde
|
|
|
|
|
|
|
|
|
|
|
|
Adding files:
|
|
|
|
Adding files:
|
|
|
|
git add *
|
|
|
|
git add *
|
|
|
|
|
|
|
|
|
|
|
|
Committing changes:
|
|
|
|
Committing changes to your local copy:
|
|
|
|
git commit -a "Log message here"
|
|
|
|
git commit -a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pushing all committed changes in your local copy to the master server:
|
|
|
|
|
|
|
|
git push origin master
|
|
|
|
|
|
|
|
|
|
|
|
================================================================= NOTE ============================================================
|
|
|
|
================================================================= NOTE ============================================================
|
|
|
|
GIT cannot store empty directories due to a design limitation.
|
|
|
|
GIT cannot store empty directories due to a design limitation.
|
|
|
|