[Digikam-devel] AAA!!! How to commit to a remote branch?

Martin Klapetek martin.klapetek at gmail.com
Sun Aug 19 23:08:58 BST 2012


Hey,

On Sat, Aug 18, 2012 at 11:12 AM, Andi Clemens <andi.clemens at gmail.com>wrote:

> Hi,
>
> somehow Git always creates a new remote branch here, I am unable to commit
> to the one I'm tracking.
>
>
> I checked out the remote branch with the following command:
>
> git checkout --track -b 3.0.0 origin/development/3.0.0
>
> Then I committed my changes. I called
>
> git push
>
> but nothing happens.
>
> I called
>
> git push --all
>
> and it created a lot of remote braches I don't really want.
>
> How can I commit to the one I'm tracking with my local "3.0.0" branch?
>

You can do that by doing "git push <repo> <branch>", eg. "git push origin
development/3.0.0", that will push only changes to that branch.

Cheers
-- 
Martin Klapetek | KDE Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20120820/0be91f9f/attachment.html>


More information about the Digikam-devel mailing list