{"thread":{"id":"24849","subject":"coding process","startedAt":"2010-08-24T15:31:21Z","lastAt":"2010-08-24T17:53:10Z","messageCount":3,"participants":["Wes James","Jared Hance"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"148843","messageId":"AANLkTi=Aei+-nbNFqY4CNjx5E+nNaOSp7-j+ruuK4kMN@mail.gmail.com","threadId":"24849","inReplyTo":null,"subject":"coding process","fromName":"Wes James","fromEmail":"comptekki@gmail.com","sentAt":"2010-08-24T15:31:21Z","receivedAt":"2010-08-24T15:31:21Z","isPatch":false,"sender":{"key":"comptekki@gmail.com","avatar":"https://gravatar.com/avatar/77f6516b7de2f25780e0fe32b47984162382693549eb48907a497cb4ba306501?d=mp&s=160"},"body":"I am working with git and I'm wondering if coding like the following\nis a good way to manage code:\n\ncreate code then commit\nwhen a good set up code is ready push to master\ncreate a branch\ncreate code then commit\nwhen code is good, merge and push to master\ngo back to create branch\n\nAnyone else have a procedure they go through when managing code?\n\nthx,\n\n-wes\n"},{"id":"148850","messageId":"20100824172800.GA4347@localhost.localdomain","threadId":"24849","inReplyTo":"AANLkTi=Aei+-nbNFqY4CNjx5E+nNaOSp7-j+ruuK4kMN@mail.gmail.com","subject":"Re: coding process","fromName":"Jared Hance","fromEmail":"jaredhance@gmail.com","sentAt":"2010-08-24T17:28:00Z","receivedAt":"2010-08-24T17:28:00Z","isPatch":false,"sender":{"key":"jaredhance@gmail.com","avatar":"https://avatars.githubusercontent.com/u/170192?v=4"},"body":"On Tue, Aug 24, 2010 at 09:31:21AM -0600, Wes James wrote:\n> I am working with git and I'm wondering if coding like the following\n> is a good way to manage code:\n> \n> create code then commit\n> when a good set up code is ready push to master\n> create a branch\n> create code then commit\n> when code is good, merge and push to master\n> go back to create branch\n> \n> Anyone else have a procedure they go through when managing code?\n> \n> thx,\n> \n> -wes\n\n>From what you say, it sounds like you are using topic branches, which\nare always a good way to manage code. You might want to consider using\nrelease branches (like how git.git has \"master\", \"next\", and \"maint\").\n\nI'm not sure what you mean by \"push to master\". You don't push to a\nbranch. You push to a repository. I guess you mean pushing to the\n\"official\" or \"blessed\" repository?\n\nAlso, sending patches to an email before merging to master is a\ngood idea to get code review.\n"},{"id":"148854","messageId":"AANLkTikXNGfFV9Bd+G4kixEzqwHLDBH0RXFHUZo5LwEu@mail.gmail.com","threadId":"24849","inReplyTo":"20100824172800.GA4347@localhost.localdomain","subject":"Re: coding process","fromName":"Wes James","fromEmail":"comptekki@gmail.com","sentAt":"2010-08-24T17:53:10Z","receivedAt":"2010-08-24T17:53:10Z","isPatch":false,"sender":{"key":"comptekki@gmail.com","avatar":"https://gravatar.com/avatar/77f6516b7de2f25780e0fe32b47984162382693549eb48907a497cb4ba306501?d=mp&s=160"},"body":"On Tue, Aug 24, 2010 at 11:28 AM, Jared Hance <jaredhance@gmail.com> wrote:\n> On Tue, Aug 24, 2010 at 09:31:21AM -0600, Wes James wrote:\n>> I am working with git and I'm wondering if coding like the following\n>> is a good way to manage code:\n>>\n>> create code then commit\n>> when a good set up code is ready push to master\n>> create a branch\n>> create code then commit\n>> when code is good, merge and push to master\n>> go back to create branch\n>>\n>> Anyone else have a procedure they go through when managing code?\n>>\n>> thx,\n>>\n>> -wes\n>\n> From what you say, it sounds like you are using topic branches, which\n> are always a good way to manage code. You might want to consider using\n> release branches (like how git.git has \"master\", \"next\", and \"maint\").\n>\n> I'm not sure what you mean by \"push to master\". You don't push to a\n> branch. You push to a repository. I guess you mean pushing to the\n> \"official\" or \"blessed\" repository?\n\nI meant when I do \"git push origin master\" - yes push to repo\n\n> Also, sending patches to an email before merging to master is a\n> good idea to get code review.\n\nOk.\n\nThx for the input.\n\n-wes\n"}]}