<div class="gmail_quote">On Mon, Apr 26, 2010 at 8:54 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I've come across a workflow issue that should be added to the Git wiki<br>
page.  To keep all patches in the correct order, I need to do "git<br>
pull" before every "git commit".  Even though the commits are local,<br>
if I do them out-of-order with the changes to the origin/master then<br>
my push is rejected.<br>
<br>
By reflexively doing a "pull" before every "commit", it looks like I<br>
can keep a very simple workflow that is almost identical to the old<br>
cvs workflow.<br></blockquote><div><br></div><div>This is the most cautious approach, but it is almost equivalent to doing a 'git pull --rebase', this will cause git to replay all of your changes over whatever was committed (in much the same way svn/cvs update did), and then you can push with a linear history.</div>

<div><br></div><div>It would be good to collect some of these tips on the wiki if people find them useful.</div><div><br></div><div>Marcus</div></div>