Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA - What is the keyboard shortcut for 'git pull' command?

Tags:

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.

like image 801
selman Avatar asked Nov 02 '16 16:11

selman


People also ask

What is the command for Git pull?

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.

What is Ctrl h in IntelliJ?

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!"

What is Ctrl K in IntelliJ?

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.


2 Answers

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

like image 85
ddavison Avatar answered Sep 18 '22 16:09

ddavison


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.

like image 21
lucash Avatar answered Sep 20 '22 16:09

lucash