jor
jor

Reputation: 2157

NetBeans & Git: shortcut for pushing to remote

I'm looking for a fast way to push my committed changes in NetBeans to the remote server. Currently this is a much too long path (navigate to Team > Remote > Push, click Next in dialog, check desired branch, click Next, click Finish). All this slows down the pushing process and should be doable in 1 click.

I've already seen a similar question concerning the committing: Assign "Ctrl+S" to Subversion commit

Any ideas for the pushing process? For sure it would also be good to have something for the pulling.

Upvotes: 3

Views: 4422

Answers (3)

toowboga
toowboga

Reputation: 114

An alternative is to use the Git Toolbar plugin in older NetBeans releases.

In NetBeans 12 LTS, you don't have to install the Git Toolbar, it's integrated. Just activate it by a right click on the toolbar and selecting Git.

Upvotes: 1

user186353
user186353

Reputation: 21

Look for "Push to Upstream" in the KeyMap, and set it to your key preference.

Upvotes: 0

Ben
Ben

Reputation: 2255

At Tools|Options|KeyMap you can set a shortcut for the action.

NB 7.4 will also allow you to put such common action to the toolbar - see http://wiki.netbeans.org/NewAndNoteworthyNB74#Versioning

Upvotes: 5

Related Questions