[Ecls-list] Any git experts here?

Marko Kocić marko.kocic at gmail.com
Mon Aug 17 09:59:51 UTC 2009

The easiest way is to add new remote to your cloned repo (the one that
has newcompiler branch),
You can git remote add sf git://path-to-sf-repo

Then you can push your branch to sf repo as new branch. I don't
remember cmdline syntax cause I always use "git gui" when I want to
push new branch to some repo for the first time.

That's if you want to publish your working branch as is. If you want
to push your changes to master when you finish, you can use rebase
feature. Eg
git rebase master newcompiler
git checkout master
git merge newcompiler
// This way you'll end up with old master + all newcompiler commits on
top of it.
git push


On Mon, Aug 17, 2009 at 10:08 AM, Juan Jose
Garcia-Ripoll<juanjose.garciaripoll at googlemail.com> wrote:
> I am developing a new compiler, by somehow incrementally adding the
> features I have already developed (http://tream.dreamhosters.com) into
> the old compiler. I know this is a mess, but at least I have C code
> generation all the time and can run and test ECL as I improve (well,
> currently just simplify) the compiler.
> The thing is that I started development on a cloned repository and
> then on a branch. I was wondering what is the optimal way to push back
> those changes once I am finished (not this week ;-D ), without
> destroying the commit history.
> Last time I attempted something similar, I lost all changes and
> everything was merged in a single patch into the master repository...
> Juanjo
> --
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list

More information about the ecl-devel mailing list