Git has a magic command 'git stash' that saves any uncommitted (no need to stage them) files without actually committing them. You can then switch to a different branch, or do anything else you like. When you are ready to carry on go back to the branch (actually it doesn't have to be the same branch if you realised you were working on the wrong one) and use 'git stash apply' to get your work back.
2009/3/16 Davi Vidal <[email protected]> > > 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 -~----------~----~----~----~------~----~------~--~---

