[Xcb] Win32 port -- git help

Jeetu Golani jeetu.golani at gmail.com
Thu Mar 25 21:15:07 PDT 2010


Hi Peter,

Seems to have worked :)....thanks so much :).....need to test the code some 
more before I declare the code ready to be reviewed :)

Bye for now

On Friday 26 March 2010, Peter Harris wrote:
> On 2010-03-25 14:42, Jeetu Golani wrote:
> >> Assuming your github remote is called "origin", and assuming that the
> >> new version is locally in "master", the git steps to achieve this would
> >> be something like:
> >>
> >> git branch origin/master old
> >> git push origin old +master
> >
> > Here I have one repo which is the working tree of xcb-win32 at github and
> > there's another repo which is the clone of xcb's git. The changes I've
> > made are in this clone.
> >
> > How would I push this foreign tree onto my git replacing my existing tree
> > that I can then have in old?
> 
> Something like
> ~/old$ git push origin master:old  # Push my master as new branch "old"
> ~/old$ cd ~/new
> ~/new$ git remote add mine ssh://github/ssh/path/wherever
> ~/new$ git push mine +master  # overwrite master on github
> 
> Peter Harris
> 



More information about the Xcb mailing list