> My first Upload tu Github was successfull
> [CODE]
> git add demo
> git commit -m 'my first upload'
> git push origin master
> [/CODE]
> ...
> when i enter "git diff" he shows me the edited files.
> but now, when i say "git commit -m 'update1'" the message "no changes
> added to commit"

You forgot to add ("stage into the index") the files to be committed.  
You can add the -a flag to the commit command to add all unstaged  
files, similar to the behaviour of SVN's `svn commit` with watched  
files.

ex:
   <hack on foo.rb>
   $ git status
   <shows foo.rb as modified but unstaged>
   $ git commit -am "Add and Commit foo.rb all at once"

`git commit -a` is a bit coarse, as it completely negates the power of  
git's index, but it gets the job done when you're starting out.

Regards,

Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" 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/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to