Pål Bergström wrote: > I'm trying to learn git. After doing the initial add . I come to a > message. Do I add my comment as a comment with # before my line, or > what? And how to I get out of there? > > I've been trying to find a good tutorial but I can't find any that > explains this issue, so I get stuck. Are there any good tutorials about > git that really explains it without leaving out important parts like > this?
The sequence is. # git add <file or directory tree> # git commit -m <comment here> | Insert as first line in message file that editor opens. If this is a local repository then you are done. If cloned from a remote master then you need to follow the local commit with a # git push To see the current status of the local vs. the remote repository # git status To update the local from the remote # git pull peepcode.com has an excellent pdf book on git for $9.00, a great value. They also have a screencast on git ($9.00) as does railscasts.com (free) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

