常用操作都有快捷键, 且全部可改
每天反复要做的事都有专属按键。如果某个按键和其他应用冲突,或者你习惯了别的按法,直接改成你顺手的。
立即体验
Pages
All Commits⌥⌘1
Local Changes⌥⌘2
Worktrees & Agents⌥⌘3
Pull Requests⌥⌘4
Deployments⌥⌘5
Workflows⌥⌘6
Details
Commit⌃⌘1
Changes⌃⌘2
File Tree⌃⌘3
Repository
Command Palette…⌘K
Switch Branch…⇧⌘K
New Branch…⇧⌘B
Fetch…⇧⌘F
Pull…⇧⌘L
Push…⇧⌘P
Force Push…⌥⇧⌘P
Stash Changes…⇧⌘S
Refresh⌘R
Terminal
Show Terminal⌃`
New Terminal⌃⇧`
试试看
滚动浏览命令及其快捷键列表。
点击顶部切换查看“设置”的其他面板。
进入 外观 面板切换一下主题。
页面切换
⌥⌘1 到 ⌥⌘6 分别打开所有提交、本地更改、工作树与智能体、Pull Request、部署和工作流。
提交详情
⌃⌘1、⌃⌘2 和 ⌃⌘3 在提交信息、更改内容和文件树之间切换。⌘D 显示或隐藏详情面板。
仓库操作
⌘K 打开命令面板,⇧⌘K 切换分支,⇧⌘B 新建分支,⇧⌘F、⇧⌘L 和 ⇧⌘P 分别用于获取、拉取和推送,⇧⌘S 用于贮藏,⌘R 刷新。
终端
⌃` 显示终端,⌃⇧` 新建终端。
录制你自己的按键
在“设置 ▸ 快捷键”中点击任意命令并按下想要的组合键。如果与其他命令冲突,gitā 会提醒你;点击“恢复默认”即可全部还原。
标签页、搜索与缩放
⌘1 到 ⌘9 切换标签页,⌘T 在新标签页打开仓库,⌘F 搜索历史记录,⌘+、⌘− 和 ⌘0 调整缩放比例。
Questions, *answered*
Can I change the keyboard shortcuts?
Yes. In Settings ▸ Shortcuts, click a command and press the keys you want. gitā tells you if another command already uses them, and Restore Defaults puts everything back.
Which commands have shortcuts?
The pages, the commit details, the command palette, fetch, pull and push, branches, stash, the terminal, tabs, search and zoom. Twenty commands in all.