I''ve been using Subversion since I started doing Rails. I wouldn''t say I like it, but it is "comfortable" at this point. Now that the Rails core team seems to be pushing the Rails community in the direction of Git as the "norm", I''m tempted to make the move too, but there is one aspect of Git that has me feeling a bit "un-cozy". I''m used to having a central repository sitting out on my server, that I can always use to get an up-to-date version of my work, regardless of which one of my machines I''m using or where I am on the planet. How are folks that are used to the central repository way of life adapting to Git? Seems like you would have to remember to always do everything twice. Once to update your local Git, and then again to push it out to the server. Is there some other way of working with Git that makes it more like the central repository workflow I''m used to? I''ve seen the peepcode and railscast episodes on git. Any other good references you want to share? thanks, jp -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Is there some other way of working with Git that makes it more like the > central repository workflow I''m used to? >You could always add "git push" to your .git/hooks/post-commit file. That way, whenever you commit locally, it''s automatically pushed to your central server. - D -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, May 29, 2008 at 3:30 PM, Danny Burkes <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> >> Is there some other way of working with Git that makes it more like the >> central repository workflow I''m used to? >> > > You could always add "git push" to your .git/hooks/post-commit file. > That way, whenever you commit locally, it''s automatically pushed to your > central server.Although I think that there are reasons not to do that. It''s advantageous at times to keep a local set of branches which are not available to others before you release them. Once you''ve made them visible to others you don''t want to do things like rebase which can be very nice in keeping a parallel thread in development in sync. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rick Denatale wrote:> On Thu, May 29, 2008 at 3:30 PM, Danny Burkes > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >>> Is there some other way of working with Git that makes it more like the >>> central repository workflow I''m used to? >>> >> >> You could always add "git push" to your .git/hooks/post-commit file. >> That way, whenever you commit locally, it''s automatically pushed to your >> central server. > > Although I think that there are reasons not to do that. > > Rick DeNataleMight be OK for me though. The projects in question are likely to be ones where I''m the only developer. I have multiple machines that I work from though, and want to always have access to the work I did on one of the other ones. thanks, jp -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The cool thing is that you can setup remotes of your other machines and pull from those as well On May 29, 9:25 pm, Jeff Pritchard <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Rick Denatale wrote: > > On Thu, May 29, 2008 at 3:30 PM, Danny Burkes > > <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > >>> Is there some other way of working with Git that makes it more like the > >>> central repository workflow I''m used to? > > >> You could always add "git push" to your .git/hooks/post-commit file. > >> That way, whenever you commit locally, it''s automatically pushed to your > >> central server. > > > Although I think that there are reasons not to do that. > > > Rick DeNatale > > Might be OK for me though. The projects in question are likely to be > ones where I''m the only developer. I have multiple machines that I work > from though, and want to always have access to the work I did on one of > the other ones. > > thanks, > jp > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have these *exact* thoughts, too; which keeps me coming back to Subversion as the way to go. Also, Rubyforge.org has svn access - however, I cannot access it through work''s blocked firewall. Which makes me wonder if git will help with that, being a repository on a thumbdrive, etc. But in terms of always having "one place" to stuff code that you can forget about and get at from a different location - I can''t think of how Git will solve that question/need - especially when it is just one developer on a personal "sandbox" project. On May 29, 4:25 pm, Jeff Pritchard <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Rick Denatale wrote: > > On Thu, May 29, 2008 at 3:30 PM, Danny Burkes > > <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > >>> Is there some other way of working with Git that makes it more like the > >>> central repository workflow I''m used to? > > >> You could always add "git push" to your .git/hooks/post-commit file. > >> That way, whenever you commit locally, it''s automatically pushed to your > >> central server. > > > Although I think that there are reasons not to do that. > > > Rick DeNatale > > Might be OK for me though. The projects in question are likely to be > ones where I''m the only developer. I have multiple machines that I work > from though, and want to always have access to the work I did on one of > the other ones. > > thanks, > jp > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---