Il 19/03/2012 01:02, Uwe Stöhr ha scritto:
As suggested I branched the Git master to develop a new feature. Now I
think this feature is now ready and I want to show it on the list but
how can I do that?
I tried to generate a patch from my branch but I only get a success
message and no file is generated.
guess
git show commit..commit > cool.patch
or, if u remember that your patch is, let's say, 2 commits, something like:
git show HEAD~2..HEAD > cool.patch
(assuming your committed patches sit on top of everything else, in
your local branch)
Should you have pulled after committing your patches locally, then you
might have others' patches on top of yours, so you should pick
selectively the patches by their ID. Alternatively, try a rebase (i.e.,
an update of the patchset to the latest remote repo), but that's among
the things I cannot do :-)
If, instead, your patch is not committed not even in your local branch,
then the usual:
git diff > cool.patch
I can also not push it to somewhere as i don't know where.
if your branch is local on your machine, one of the above, and send to
the list. If you add a remote branch on the main repo, or on your own
separate repo, then you may push there and ask on the list to people to
fetch the patch from there, but this is the domain of "--reset --hard",
or "cherry-pick", which are things I don't know how to use.
Hope this helps,
T.