GitHub Desktop
GitHub, Inc. and contributors · 用於檢視更改、提交、建立分支以及與 GitHub 協作的圖形化 Git 客戶端。
- 近 30 天安裝
- 4,423
- App榜第 78
- 近一年安裝
- 5.1萬
- 365 天累計
- 最新版本
- 3.6.9-e0ba6bb8
- 昨天 · 10月24日
- 下載大小
- 538MB
- arm64 / x86_64 · zip
- 更新節奏
- 每兩週
- 近 30 天 4 個版本
GitHub Desktop 是一款開發工具類 Mac 應用。開發者是 GitHub, Inc. and contributors。
基本資訊
- 晶片
- Apple 晶片 · Intel
- 系統版本
- macOS 13 起
- 價格
- 免費 · 價格詳情
- 開發者
- GitHub, Inc. and contributors
- 安裝命令
brew install --cask github- Homebrew
- 可以安裝,應用會自行更新
- 其他名稱
- github
以上資訊最早核查於 。檢視各項來源
介紹
AI 翻譯檢視原文GitHub Desktop 是一款圖形化 Git 客戶端,適合希望檢視更改、建立提交和處理分支,而無需在終端中執行每項操作的開發者和協作者。它可與 GitHub 和 GitHub Enterprise 整合,同時也支援本地 Git 倉庫工作流。
功能
- 在提交前檢視更改的檔案以及文字或受支援的影像差異。
- 建立提交併檢查倉庫歷史。
- 建立和切換分支,並管理受支援的合併或變基工作流。
- 使用適當的遠端訪問許可權獲取、拉取和推送倉庫更改。
- 連線 GitHub 協作工作流,並在受支援的編輯器中開啟專案。
安裝和配置
使用 brew install --cask github 安裝 Mac 應用,或下載適用於 Apple Silicon 或 Intel 的官方歸檔檔案,並將 GitHub Desktop.app 移到 Applications。開啟應用,配置你的 Git 作者身份,然後新增、建立或克隆倉庫。訪問需要 GitHub 或 Enterprise 授權的倉庫時登入。提交前檢視 Changes 檢視,並在與遠端同步前確認所選分支。
倉庫操作可能會更改檔案和歷史;介面並不能替代你對自己正在編輯哪個倉庫和分支的瞭解。遠端訪問仍取決於許可權和組織身份驗證策略。
要求、依賴項和平臺
官方支援頁面和當前 Homebrew cask 要求 macOS 12 或更高版本。目錄提供 Mac ARM64 和 Intel 軟體包。該 cask 明確與 github@beta 衝突,並宣告沒有額外的 formula 依賴項。選擇穩定版或 beta cask。GitHub Desktop 的打包元件與原始碼開發要求不同;可選的外部編輯器、命令列工具和 Git 鉤子可能需要各自安裝或環境配置。
在即將到來的 Electron 變更放棄對這些系統的支援之前,版本 3.6.5 限制了 macOS 12 及更早版本上的升級。因此,不應將本目錄軟體包的最低要求理解為承諾未來版本仍可在 macOS 12 上使用。
官方桌面版支援還包括 Windows 10 64-bit 或更高版本。Linux 構建版本是社群維護的替代方案,在引用的支援矩陣中並非官方支援平臺。GitHub 的移動應用是獨立產品,而不是此桌面 Git 客戶端。所引用的支援頁面未確定固定的 RAM 或已安裝儲存最低要求。
在目錄中特定構建的 URL 上,官方 3.6.6 Apple Silicon 歸檔檔案為 304,970,592 位元組。這是下載大小,而不是安裝後佔用空間。官方網站圖片展示了 Mac 上的 Changes 檢視、選中的檔案、程式碼差異和提交控制元件;它是產品示例,而不是特定版本的截圖。
賬戶、費用和許可證
GitHub Desktop 是免費的,其原始碼根據 MIT 許可證釋出。分發的產品還受其釋出的 EULA 和捆綁宣告約束。使用經過身份驗證的 GitHub 服務需要 GitHub 賬戶,而在不購買 GitHub 套餐的情況下也可以管理本地倉庫。付費的 GitHub 或 Enterprise 服務、組織訪問許可權和第三方整合具有單獨的條款和權益。
GitHub Desktop 的價格與購買方式
OpenNavo 按地區、版本和計費週期記錄核查過的價格,並註明來源和日期;不記錄歷史價格,也不判斷是否最低。
| 版本 | 價格 | 地區 | 購買渠道 | 核查日期 |
|---|---|---|---|---|
| — | 免費 | — | 官網github.com/desktop/desktop/blob/development/LICENSE |
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| macOS 13 起 | 3.6.9-e0ba6bb8 | Intel | desktop.githubusercontent.com/releases/3.6.9-e0ba6bb8/GitHubDesktop-x64.zipSHA-256 586486c5c302e17764edaf024b05e6d7a7bde77b627de193d105111cd9f30a6c | Homebrew核查於 |
| macOS 13 起 | 3.6.9-e0ba6bb8 | Apple 晶片 | desktop.githubusercontent.com/releases/3.6.9-e0ba6bb8/GitHubDesktop-arm64.zipSHA-256 ecf27931ce3c2dfd372ef319a9824ad78d2c95f08f7584a048641ef6426d97f8 | Homebrew核查於 |
如何在 Mac 上安裝 GitHub Desktop
- 在“終端”中執行:
brew install --cask github - Homebrew 會把應用安裝到“應用程式”資料夾。
解除安裝 GitHub Desktop 與可選的資料清理
brew uninstall --cask github普通解除安裝會刪除應用本身,設定和快取會保留。
深度清理(可選)
brew uninstall --zap --cask github--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。
GitHub Desktop 可能留在 Mac 上的檔案(15)
- 檔案和資料夾
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.GitHubClient.sfl*~/Library/Application Support/com.github.GitHubClient~/Library/Application Support/com.github.GitHubClient.ShipIt~/Library/Application Support/GitHub Desktop~/Library/Application Support/ShipIt_stderr.log~/Library/Application Support/ShipIt_stdout.log~/Library/Caches/com.github.GitHubClient~/Library/Caches/com.github.GitHubClient.ShipIt~/Library/HTTPStorages/com.github.GitHubClient~/Library/Logs/GitHub Desktop~/Library/Preferences/ByHost/com.github.GitHubClient.ShipIt.*.plist~/Library/Preferences/com.github.GitHubClient.helper.plist~/Library/Preferences/com.github.GitHubClient.plist~/Library/Saved Application State/com.github.GitHubClient.savedState~/.config/git
以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。
3.6.9-e0ba6bb8 更新內容
新版本 來自 Homebrew 提交記錄
這個版本沒有單獨的更新說明。
GitHub Desktop 的安全事實
這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。
- 分發渠道
- Homebrew
- 是否開源
- 是 · github.com/desktop/desktop · MIT核查於
依賴與衝突
安裝細節
- 來源倉庫
- homebrew/cask
- 附帶命令
- github
- 下載地址
- https://desktop.githubusercontent.com/releases/3.6.9-e0ba6bb8/GitHubDesktop-arm64.zip
- SHA-256
- ecf27931ce3c2dfd372ef319a9824ad78d2c95f08f7584a048641ef6426d97f8
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/github.rb
- formulae.brew.sh
- formulae.brew.sh/cask/github
- 原始碼
- github.com/desktop/desktop
安裝與解除安裝內容
安裝
app來原始檔: GitHub Desktop.
app 宣告的目標位置: /
Applications/ Desktop.GitHub app 檢視完整宣告
{ "app": [ "GitHub Desktop.
app" ], "target": "/Applications/ Desktop.GitHub app" }安裝
binary來原始檔: $APPDIR/
GitHub Desktop.app/ Contents/ Resources/ app/ static/ github. sh 宣告的目標位置: $HOMEBREW_PREFIX/
bin/ github 檢視完整宣告
{ "binary": [ "$APPDIR/
GitHub Desktop.app/ { "target": "github" } ], "target": "$HOMEBREW_PREFIX/Contents/ Resources/ app/ static/ github. sh", bin/ }github" 清理使用者資料
zap檢視完整宣告
{ "zap": [ { "rmdir": "~/
. "trash": [ "~/config/ git", Library/ Support/Application com. "~/apple. sharedfilelist/ com. apple. LSSharedFileList. ApplicationRecentDocuments/ com. github. GitHubClient. sfl*", Library/ Support/Application com. "~/github. GitHubClient", Library/ Support/Application com. "~/github. GitHubClient. ShipIt", Library/ Support/Application GitHub Desktop", "~/Library/ Support/Application ShipIt_stderr. "~/log", Library/ Support/Application ShipIt_stdout. "~/log", Library/ "~/Caches/ com. github. GitHubClient", Library/ "~/Caches/ com. github. GitHubClient. ShipIt", Library/ "~/HTTPStorages/ com. github. GitHubClient", Library/ Desktop", "~/Logs/ GitHub Library/ "~/Preferences/ ByHost/ com. github. GitHubClient. ShipIt. *. plist", Library/ "~/Preferences/ com. github. GitHubClient. helper. plist", Library/ "~/Preferences/ com. github. GitHubClient. plist", Library/ Application State/Saved com. ] } ] }github. GitHubClient. savedState"
關於 GitHub Desktop 的常見問題
GitHub Desktop 安全嗎?
GitHub Desktop 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有透過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 desktop.githubusercontent.com 的安裝包。過去 30 天,它透過 Homebrew 安裝了 4,423 次。
GitHub Desktop 免費嗎?
是的,GitHub Desktop 可以免費使用。來源:github.com/desktop/desktop/blob/development/LICENSE,核查於 10月25日。
GitHub Desktop 是開源軟體嗎?
GitHub Desktop 的原始碼公開在 GitHub 上(desktop/desktop),使用 MIT 許可證。
怎樣在 Mac 上徹底解除安裝 GitHub Desktop?
執行 brew uninstall --cask github。要連設定和快取一起刪除,執行 brew uninstall --zap --cask github。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 15 處檔案和資料夾,包括 ~/。
GitHub Desktop 支援 Apple 晶片(M1 及更新)的 Mac 嗎?
支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝包。需要 macOS 13 或更高版本。
GitHub Desktop 的設定和資料儲存在哪裡?
設定儲存在 ~/。資料儲存在 ~/、~/和~/。這些位置來自 Homebrew 的清理清單。
GitHub Desktop 的最新版本是多少?
最新版本是 3.6.9-e0ba6bb8,Homebrew 收錄於 10月24日。GitHub Desktop 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy github。Homebrew 還提供 github@beta,不能與它同時安裝。
安裝 GitHub Desktop 還會裝上什麼?
還會裝上 1 個命令列工具:github。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫“截至”某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/g/github.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/github
- 價格:github.com/desktop/desktop/blob/development/LICENSE · 核查於
- 安全事實:github.com/desktop/desktop · 核查於