<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 12:03 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2012-05-02 14:25, Marc Delisle a écrit :<br>
<div class="im">> Le 2012-05-02 14:13, Atul Pratap Singh a écrit :<br>
><br>
>> But what if the local changes are not desired to be published to the origin<br>
>> right now. Marc, should we always experiment on a separate branch or repo<br>
>> or is there any other way to make selective push to origin like HEAD~1 or<br>
>> something?<br>
><br>
> Atul,<br>
> you should always push your changes to the origin (on github), this is<br>
> how your mentor (me) will look at your work. You can experiment on a<br>
> separate branch if you want, but this will be part of the same repository.<br>
><br>
</div>About experimenting, of course you should test a chunk of code that<br>
relates to one feature or one refactoring, before committing it to some<br>
branch (master or testing branch).<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>Thanks Marc,<br>I would always push properly tested commits to github origin. And I would use separate branch or repo clones for experimenting.<br>Thilina, About pushing as in your case, if you don't wanna push your current local changes to github origin, you can use:-<br>
git checkout master<br>git push origin master~x:master (x being integer = number of commits to leave from HEAD)<br>After you have properly merged upstream to master.<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="HOEnZb"><div class="h5">
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Atul Pratap Singh<div>Senior Undergraduate Student</div><div>Institute Of Technology,<br>Banaras Hindu University, Varanasi,<br>India.</div><br>