visual studio 中的同步 git 键盘快捷键是什么?
What is sync git keyboard shortcut in visual studio?
我想使用键盘快捷方式同步 git 存储库。
visual studio 中的同步 git 键盘快捷键是什么?
我怀疑这是否有捷径。然而,根据 the official docs:
Sync is a combined operation of pulling remote changes and then pushing local ones, synchronizing the commits on the local and remote branch.
因此,您可以使用几个 git 命令重现相同的行为,例如:
git pull --rebase mybranch origin/mybranch
git push origin mybranch
实际命令可能会有所不同,具体取决于您希望同步的精确程度。
您还可以使用 Ctrl+0、Ctrl+Y 转到团队资源管理器中的“同步”面板。
在同步时,您可以单击同步(或推或拉)。
使用 Ctrl+0、Ctrl+G 返回“更改”窗格。
这不是一个单一的捷径,但它可以提供帮助。
在此处查看完整的快捷方式列表:http://visualstudioshortcuts.com/2017/
以下快捷方式将有助于推送、拉取、获取。 (虽然这不是为了同步)
ctrl
+ alt
+ F3
将从状态栏打开 git 分支菜单。
然后相应地按 L
(拉)、F
(获取)、P
(推)。
我想使用键盘快捷方式同步 git 存储库。
visual studio 中的同步 git 键盘快捷键是什么?
我怀疑这是否有捷径。然而,根据 the official docs:
Sync is a combined operation of pulling remote changes and then pushing local ones, synchronizing the commits on the local and remote branch.
因此,您可以使用几个 git 命令重现相同的行为,例如:
git pull --rebase mybranch origin/mybranch
git push origin mybranch
实际命令可能会有所不同,具体取决于您希望同步的精确程度。
您还可以使用 Ctrl+0、Ctrl+Y 转到团队资源管理器中的“同步”面板。 在同步时,您可以单击同步(或推或拉)。 使用 Ctrl+0、Ctrl+G 返回“更改”窗格。
这不是一个单一的捷径,但它可以提供帮助。 在此处查看完整的快捷方式列表:http://visualstudioshortcuts.com/2017/
以下快捷方式将有助于推送、拉取、获取。 (虽然这不是为了同步)
ctrl
+ alt
+ F3
将从状态栏打开 git 分支菜单。
然后相应地按 L
(拉)、F
(获取)、P
(推)。