Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Norbert Thiebaud
There are multiple ways, here are two Let's assume that your tree looks like * ---> /origin/master | * ---> commit A | * ---> commit B : HEAD let's say that sha-A is the sha of commit A and sha-B is the sha1 of commit B 1/ You can swap the 2 commits with git-rebase -i git rebase -i origin/mast

Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Julien Nabet
On 08/01/2012 13:54, Matúš Kukan wrote: On 8 January 2012 13:21, julien2412 wrote: Hello Olivier, I never did this but found this : http://stackoverflow.com/questions/3230074/git-pushing-specific-commit (in http://groups.google.com/group/git-users/browse_thread/thread/e20536c0f222d97a too) so

Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Matúš Kukan
On 8 January 2012 13:09, Olivier Hallot wrote: > This is a newbie question: I have commit A and commit B, with A and B > totally independent, and A was committed before B in my local copy. > > I want to push B to the repository. > > How can it be done? Assuming you don't have any uncommited chang

Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread Matúš Kukan
On 8 January 2012 13:21, julien2412 wrote: > Hello Olivier, > > I never did this but found this : > http://stackoverflow.com/questions/3230074/git-pushing-specific-commit (in > http://groups.google.com/group/git-users/browse_thread/thread/e20536c0f222d97a > too) so : > git push : I think this wi

Re: [Libreoffice] Newbie question: git push

2012-01-08 Thread julien2412
Hello Olivier, I never did this but found this : http://stackoverflow.com/questions/3230074/git-pushing-specific-commit (in http://groups.google.com/group/git-users/browse_thread/thread/e20536c0f222d97a too) so : git push : Hope it helps. Julien -- View this message in context: http://nabble.

[Libreoffice] Newbie question: git push

2012-01-08 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi This is a newbie question: I have commit A and commit B, with A and B totally independent, and A was committed before B in my local copy. I want to push B to the repository. How can it be done? Thanks - -- Olivier Hallot Founder, Board of Direc