This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Shortcut for making a git commit on the whole project | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | digitman222 |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | git |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Git Commit Shortcut |
Description
digitman222
2013-09-12 15:19:21 UTC
Tools -> Options -> Keymap, find the git commit action and set any shortcut you wish I couldn't find a 'git commit' option, I only found a 'commit' option, for which I set a shortcut and tried it. However, this option only works for committing a single file, which is already easy enough. I'm talking about a shortcut for committing the whole project, instead of having to right click the project, go under versioning, etc. Not just committing a single file at a time. > I couldn't find a 'git commit' option Sure its there: Commit... action under category Git => git commit > However, this option only works for committing a single file, which is already easy enough Then you probably did not select the whole project but kept selection on just the file. 1) Set the keyboard shortcut 2) Select a project you want to commit 3) Press the shortcut -> commit dialog for the currently selected project opens Selecting a project is better, but its also another tedious step which you shouldn't have to do. My request is for a key which will work from within any file you are and wouldn't require selecting the project, something like 'Commit project', you could press the shortcut and it would commit it. Tools -> Options -> Keymap -> Git/Commit Project... fix: http://hg.netbeans.org/core-main/rev/ca51cb132a44 Awesome, thank you! Would it be possible to also add a 'Push Project' key to the keymap which functions the same way, but when you press it, it pushes the project to a remote repo? (In reply to digitman222 from comment #6) > Would it be possible to also add a 'Push Project' key to the keymap which > functions the same way, but when you press it, it pushes the project to a > remote repo? Push to Upstream (already available) should do the same job, or not? Push to upstream never works for me, when I try it I always get the message 'No tracked remote branch specified for local master'. (In reply to digitman222 from comment #8) > Push to upstream never works for me, when I try it I always get the message > 'No tracked remote branch specified for local master'. Then setup remote tracking for your local branch: http://stackoverflow.com/questions/520650/how-do-you-make-an-existing-git-branch-track-a-remote-branch or wait for bug #230991 to be implemented Created attachment 163025 [details]
Git Commit Shortcut
What is the recommended shortcut for Git commit? May be Strg+F1 ? |