Sushant Raikar schreef op 29-4-2014 9:07:
I am not so comfortable with git, so I just wanted to make sure what
my procedure should be if I want to port the patch
http://www.lyx.org/trac/ticket/7964 to latest code base.
1) clone the developer repository
|git clone g...@git.lyx.org:lyx
|2) create a remote in gsoc repo
|git remote add gsoc g...@git.lyx.org:gsoc.git|
Now you have to fetch from the gsoc repo to get the branches:
$ git fetch gsoc
3) then remotely switch to interactive branch
|git checkout|||--track -b| gsoc/interactive
|
|What do you mean by "remotely switch".
I think that
$ git checkout interactive
does what you want. It automatically creates a local branch interactive
that tracks the remote branch interactive of the gsoc repo.
|
||
4) work on porting of the patch and simultaneously keep on committing
5) if in working condition
|git push -u gsoc interactive
|
|$ git push gsoc interactive
|
Isn't this how it is supposed to be done.
Can i create local branches for my convenience for example
gsoc/interactive/patchupdate|?
|
You can create any local branch you want. However, only push those
branches which are useful to share with others.
|
|
|Thank You,
|
|Sushant Raikar
|
Vincent