---
title: "內建終端機"
description: "gitā 內建了終端機：在視窗底部以標籤頁形式執行你的登入 Shell，工作目錄就在目前儲存庫資料夾。也可以改為開啟 Terminal、iTerm、Ghostty 或 Warp。"
url: https://getgita.app/zh-hant/features/terminal
lang: zh-Hant
---

# 就在視窗裡的 內建終端機

有些事還是直接敲指令更快。在「設定」中選擇「內建終端機」，按下 ⌃`，終端機就會在視窗底部展開，並自動進入儲存庫所在目錄。

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

## 試試看

1. 按一下終端機區域並輸入 **git status -sb**。
2. 試試 **git log --oneline -5** 與 **git branch**。
3. 輸入 **help** 看看這個示範版能辨識哪些指令。

## 終端機

- **你自己的 Shell.** 它執行的是你的登入 Shell，沿用你的提示字元、別名與全部工具，工作目錄就是目前視窗前的儲存庫資料夾。
- **底部的標籤頁.** 想開多少個終端機都可以。每個終端機都是面板中的一個標籤頁，面板高度會記住你上次拖曳的位置。
- **深色、淺色或跟隨主題.** 終端機配色可以固定為深色、淺色，或自動跟隨 gitā 的主題與外觀。
- **兩個快捷鍵.** ⌃` 顯示或隱藏終端機面板，⌃⇧` 新增終端機。兩者皆可自訂。
- **或者用回你習慣的終端機.** 如果你更習慣 Terminal、iTerm、Ghostty、Warp、WezTerm、kitty、Alacritty 或其他任意應用程式，在「設定」中選定它，「在終端機中開啟」就會呼叫它。
- **關閉前會先詢問.** 當視窗內仍有開啟的終端機時，關閉視窗會先詢問你，避免意外中斷正在執行的任務。

## Questions, answered

### Which shell does the built-in terminal run?

Your login shell, with your prompt, your aliases and your tools, in the folder of the repository in front of you.

### Can I use Terminal or iTerm instead?

Yes. Choose Terminal, iTerm, Ghostty, Warp or another app in Settings, and **Open in Terminal** uses that one.

[全部功能](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
