Since Intellij relies on keyboard shortcuts a lot,I was wondering if there is one for "git pull" command. That would save couple of seconds. I am using Intellij Version 15.0.4 on Windows.
The git pull command is actually a combination of two other commands, git fetch followed by git merge . In the first stage of operation git pull will execute a git fetch scoped to the local branch that HEAD is pointed at. Once the content is downloaded, git pull will enter a merge workflow.
Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"
CTRL + J : Navigate – Go To Implementations. CTRL + K : 3 things here: View Recent Files + Toggle Changed Only Files + Iterate Recent Files. CTRL + L : Navigate – Go To Declaration or Usages. ALT + H : Editor Actions – Left. ALT + J : Editor Actions – Down.
What you are looking for, is VCS->Update Project
The default windows keybinding is Ctrl+T . (Cmd+T for mac)
If this keyboard combination does not work, just expand VCS
in the main window, then find the key combo in the Update Project
option
You can set one yourself: Go to the IntelliJ settings, open the tab "Keymap" and search for "git pull" in the top right. Just set one of the found matches, it will change the others too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With