---
title: "指令面板"
description: "在 gitā 中按下 ⌘K 即可搜尋所有指令、分支、Pull Request、工作流程執行、部署、工作區、儲存庫與提交。拼寫有誤也能匹配，按 Tab 可縮小搜尋範圍。"
url: https://getgita.app/zh-hant/features/command-palette
lang: zh-Hant
---

# 按下 ⌘K 尋找一切

指令面板是貫穿整個應用程式的統一搜尋框。輸入幾個字母，按下 Return 鍵即可執行。

A live copy of the app is on the page: https://getgita.app/zh-hant/features/command-palette

## 試試看

1. 輸入 **psuh**，它依然能找到 Push。
2. 按下 **Tab**，依序限定為只搜分支、只搜指令等。
3. 輸入 **deploy** 並按 Return 鍵，開啟部署頁面。
4. 將指標移到視窗上並按下 **⌘K**，重新叫出指令面板。

## 指令面板

- **萬物歸一.** 選單指令、分支、Pull Request、工作流程執行、部署、工作區、儲存庫、提交以及「設定」的各個面板都會出現在同一次搜尋中。
- **容錯匹配.** 支援字首匹配、首字母縮寫（輸入 fp 即可找到 Force Push）以及依順序的模糊字母匹配，哪怕手滑拼錯也能命中。匹配到的字母會以粗體顯示。
- **按 Tab 縮小範圍.** 每按一次 Tab 就會切換到下一種類別：只看分支、只看 Pull Request、只看提交。Shift-Tab 返回上一類。
- **切換分支.** ⇧⌘K 會開啟只包含分支的面板，目前分支會特別標出，並依最新順序排列。
- **直接從輸入建立分支.** 輸入一個名稱後按下 ⌘N，即可直接建立同名分支。
- **常用優先.** 最近選擇過的內容下次會排在最前面，指令右側還會顯示對應的快捷鍵。

## Questions, answered

### What can the command palette find?

Menu commands, branches, pull requests, workflow runs, deployments, workspaces, repositories, commits and the panes of Settings, all in one search.

### Does it forgive typos?

Yes. It matches word starts, initials and letters in order, so **psuh** still finds Push. The letters that matched are shown in bold.

[全部功能](https://getgita.app/zh-hant/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
