[Phpmyadmin-devel] Git repo update

Atul Pratap Singh atulpratapsingh05 at gmail.com
Wed May 2 20:54:25 CEST 2012


On Thu, May 3, 2012 at 12:03 AM, Marc Delisle <marc at infomarc.info> wrote:

> Le 2012-05-02 14:25, Marc Delisle a écrit :
> > Le 2012-05-02 14:13, Atul Pratap Singh a écrit :
> >
> >> But what if the local changes are not desired to be published to the
> origin
> >> right now. Marc, should we always experiment on a separate branch or
> repo
> >> or is there any other way to make selective push to origin like HEAD~1
> or
> >> something?
> >
> > Atul,
> > you should always push your changes to the origin (on github), this is
> > how your mentor (me) will look at your work. You can experiment on a
> > separate branch if you want, but this will be part of the same
> repository.
> >
> About experimenting, of course you should test a chunk of code that
> relates to one feature or one refactoring, before committing it to some
> branch (master or testing branch).
>
> Thanks Marc,
I would always push properly tested commits to github origin. And I would
use separate branch or repo clones for experimenting.
Thilina, About pushing as in your case, if you don't wanna push your
current local changes to github origin, you can use:-
git checkout master
git push origin master~x:master     (x being integer = number of commits to
leave from HEAD)
After you have properly merged upstream to master.

--
> Marc Delisle
> http://infomarc.info
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>



-- 
Atul Pratap Singh
Senior Undergraduate Student
Institute Of Technology,
Banaras Hindu University, Varanasi,
India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120503/ba546bc5/attachment.html>


More information about the Developers mailing list