[Kde-pim] Re: Pushing a single commit in git

Torgny Nyblom kde at nyblom.org
Tue Jan 4 07:31:38 GMT 2011


On Mon, 03 Jan 2011 22:07:05 +0100
Torgny Nyblom <kde at nyblom.org> wrote:

> On Monday 03 January 2011 20.47.09 David Jarvie wrote:
> > How can I push a commit for one specific file to the git repository? I've
> > committed various changes locally, but I currently only want to push one of
> > them to the kdepim repository. I've looked at git help and several cheat
> > sheets etc, but can't find how to do it.
> 
> As far as i know you cannot :( One reason to use local branches, something I 
> always remember after the fact that needed one :)

Also when I remember if you have uncommitted changes that should go into more then one commit you can use "git gui" to add files, hunks or single lines to a commit.

/Torgny
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list