<div dir="ltr">Generally you should work and push branches to github and issue pull requests on those.  It will make it easier to keep your pending commits and changes out of your master branch so you can update it like normal<div>


<br></div><div>git checkout -b mywork</div><div><br></div><div>do you stuff..</div><div><br></div><div>git commit -m "My changes"</div><div><br></div><div>git push origin mywork</div><div><br></div><div style>Pull request on mywork branch.</div>

<div style><br></div><div style>You can then keep master in line by doing:</div><div style><br></div><div style>git checkout master</div><div style>git pull --rebase upstream/master</div><div style><br></div><div style>upstream == QGIS github repo, might be different for you.</div>

<div style><br></div><div style>- Nathan</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 7:03 PM, MORREALE Jean Roc <span dir="ltr"><<a href="mailto:jr.morreale@enoreth.net" target="_blank">jr.morreale@enoreth.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Werner,<br>
<br>
Thank for the answer, I already tried git reset but got stuck on that :<br>
<br>
$ git reset --hard upstream/master<br>
fatal: ambiguous argument 'upstream/master': unknown revision or path not in the working tree.<br>
Use '--' to separate paths from revisions, like this:<br>
'git <command> [<revision>...] -- [<file>...]'<br>
<br>
But applying the command 'git remote update' before it did the trick !<br>
<br>
I didn't knew this command, should it be used instead of fetch/pull upstream ?<div><div><br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</div></div></blockquote></div><br></div></div>