Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Key binding for "Commit and Push" and "Commit" in "Git Staging" view?
Key binding for "Commit and Push" and "Commit" in "Git Staging" view? [message #1747451] Mon, 14 November 2016 22:54 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 521
Registered: July 2009
Senior Member
Towards the goal of not using the mouse as much as possible, I'm looking to see if there is a possible keyboard binding for the "Commit and Push" and "Commit" buttons in the Git Staging View. I can't even use the Tab key generally, because I'm typically in the comment field, which inserts tab characters.
Re: Key binding for "Commit and Push" and "Commit" in "Git Staging" vi [message #1749113 is a reply to message #1747451] Thu, 01 December 2016 22:41 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 944
Registered: July 2009
Senior Member
For "Commit" you can use Ctrl + Enter (Cmd + Enter on Mac).

There is a tooltip when you hover over the button:
http://imgur.com/a/z4ZTn
Re: Key binding for "Commit and Push" and "Commit" in "Git Staging" vi [message #1749115 is a reply to message #1749113] Thu, 01 December 2016 22:44 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 521
Registered: July 2009
Senior Member
On Win7, with Neon.1, there is no tooltip for either of those buttons.

So if Ctrl+Enter is for "Commit", what is the binding for "Commit and Push"?
Re: Key binding for "Commit and Push" and "Commit" in "Git Staging" vi [message #1749138 is a reply to message #1749115] Fri, 02 December 2016 09:01 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 944
Registered: July 2009
Senior Member
there is no binding for "Commit and Push", I am working on a patch to add that,
any suggestions which binding to use ? I was thinking about ALT-Enter.
Previous Topic:Help a newbie understand a private branch of a project on GitHub
Next Topic:How to get project created from git repository in workspace?
Goto Forum:
  


Current Time: Mon Sep 25 02:37:46 GMT 2017

Powered by FUDForum. Page generated in 0.02021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software