IntelliJ IDEA - “git pull”命令的键盘快捷键是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40385105/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 12:23:58  来源:igfitidea点击:

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

gitintellij-ideakeyboard-shortcuts

提问by selman

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.

由于 Intellij 非常依赖键盘快捷键,我想知道是否有一个用于“git pull”命令。这将节省几秒钟。我在 Windows 上使用 Intellij 版本 15.0.4。

采纳答案by lucash

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.

您可以自己设置:转到 IntelliJ 设置,打开“Keymap”选项卡并在右上角搜索“git pull”。只需设置一个找到的匹配项,它也会改变其他匹配项。

回答by ddavison

What you are looking for, is VCS->Update Project

你要找的是 VCS->Update Project

The default windows keybinding is Ctrl+T. (Cmd+Tfor mac)

默认的 Windows 键绑定是Ctrl+ T。( Cmd+T为 Mac)

If this keyboard combination does not work, just expand VCSin the main window, then find the key combo in the Update Projectoption

如果此键盘组合不起作用,只需VCS在主窗口中展开,然后在Update Project选项中找到组合键