I'm not sure if you will be able to switch to old branch if you add new files to index, but if you cannot commit files you can use git stash. On the other hand you can commit them although you didn't finish complete development since that commit will not disturb anything until you publish your changes with git push. After you finish development and perform series of commits to new branch you can squash your commits into single commit and that's it. So there is no reason not to commit new files on the development branch.
On Mar 16, 8:55 pm, Davi Vidal <[email protected]> wrote: > On 03/16/2009 04:34 PM, Colin Law wrote: > > > Did you remember to commit the new files before switching back to master? > > What if I can't/don't want to commit now? Should I stage my files? > > Thanks, > > davi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

