---
title: "键盘快捷键"
description: "gitā 为各个页面、提交详情、获取、拉取、推送、分支、命令面板和终端都配备了键盘快捷键，并且每一项都能在设置中修改。"
url: https://getgita.app/zh-hans/features/shortcuts
lang: zh-Hans
---

# 常用操作都有快捷键，且全部可改

每天反复要做的事都有专属按键。如果某个按键和其他应用冲突，或者你习惯了别的按法，直接改成你顺手的。

A live copy of the app is on the page: https://getgita.app/zh-hans/features/shortcuts

## 试试看

1. 滚动浏览命令及其快捷键列表。
2. 点击顶部切换查看“设置”的其他面板。
3. 进入 **外观** 面板切换一下主题。

## 快捷键

- **页面切换.** ⌥⌘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.

[全部功能](https://getgita.app/zh-hans/features.md)

- **下载 macOS 版:** https://github.com/rolottr/gita/releases/latest
- **在 GitHub 上查看:** https://github.com/rolottr/gita

---

Apple, macOS and Mac are trademarks of Apple Inc. Git is a trademark of Software Freedom Conservancy. GitHub is a trademark of GitHub, Inc. Vercel is a trademark of Vercel Inc. Claude is a trademark of Anthropic, PBC. gitā is independent software and is not affiliated with any of them. 问题反馈: https://github.com/rolottr/gita/issues
