[Libreoffice] git push / FOSDEM

Miklos Vajna vmiklos at frugalware.org
Mon Feb 7 13:22:49 PST 2011

On Mon, Feb 07, 2011 at 07:33:05PM +0100, Christina Roßmanith <ChrRossmanith at web.de> wrote:
> I'm 3 commits ahead at home. But I have only the license to push the 
> middle one on my own. How can I do that?!?

Using git rebase -i. See its manpage, you can reorder the commits so
that the middle one will be the first, then 'git push origin
HEAD~2:master' will push just that one for you. It even has a -n flag if
you want to double-check before you do anything. If it gets rejected,
use the usual 'git pull -r'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/371fea82/attachment.pgp>

More information about the LibreOffice mailing list