[PR #395] [MERGED] Git AI install- support for Git Clients #446

Closed
opened 2026-03-02 04:13:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/git-ai-project/git-ai/pull/395
Author: @acunniffe
Created: 1/23/2026
Status: Merged
Merged: 1/23/2026
Merged by: @acunniffe

Base: mainHead: feat/client-setup


📝 Commits (8)

📊 Changes

12 files changed (+1277 additions, -26 deletions)

View changed files

📝 src/commands/git_ai_handlers.rs (+8 -9)
📝 src/commands/install_hooks.rs (+147 -1)
📝 src/git/repository.rs (+12 -2)
📝 src/main.rs (+9 -0)
src/mdm/ensure_git_symlinks.rs (+81 -0)
src/mdm/git_client_installer.rs (+51 -0)
src/mdm/git_clients/fork_app.rs (+414 -0)
src/mdm/git_clients/mac_prefs.rs (+188 -0)
src/mdm/git_clients/mod.rs (+20 -0)
src/mdm/git_clients/sublime_merge.rs (+296 -0)
📝 src/mdm/mod.rs (+6 -0)
📝 src/mdm/utils.rs (+45 -14)

📄 Description

This PR establishes initial patterns for changing the preferences of git clients to point at Git AI re https://github.com/git-ai-project/git-ai/issues/389

  • Make first several bytes (up to line line) for --version calls on main binary call git-ai
  • Setup a simple struct (similar to Agent installers that checks if a git client installed, what the current preferences are, and can change git path
  • Add support for Sublime Merge on MacOS and Windows
  • Add support Fork support on MacOS and Windows
  • get --exec-path proxying correctly

Todos:

  • Document how to add support for more Git Clients
  • Add a Claude skill to the repo that guides users through the above

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/git-ai-project/git-ai/pull/395 **Author:** [@acunniffe](https://github.com/acunniffe) **Created:** 1/23/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@acunniffe](https://github.com/acunniffe) **Base:** `main` ← **Head:** `feat/client-setup` --- ### 📝 Commits (8) - [`1ad494a`](https://github.com/git-ai-project/git-ai/commit/1ad494a53994e5b82a1ca70910c14cb7a382fb16) wip ai pref change - [`675f03d`](https://github.com/git-ai-project/git-ai/commit/675f03dc9094d01cea89dfe61bf7532bc9eb9745) mac pref refactor - [`59141e0`](https://github.com/git-ai-project/git-ai/commit/59141e0dccd8207dbbab4da56fe4373a71022c2d) fix client setup for fork - [`809b81b`](https://github.com/git-ai-project/git-ai/commit/809b81be29122cbf0d0cefd26dbb1d4a68734ce9) windows support - [`8576637`](https://github.com/git-ai-project/git-ai/commit/857663756480c46e5940ee0456b87a19a8f594a7) fix --exec-path - [`643f594`](https://github.com/git-ai-project/git-ai/commit/643f594897645c3ce36ff41c088a72b9c8207d8d) remove ps1 updates - [`9863bf9`](https://github.com/git-ai-project/git-ai/commit/9863bf96c8278bab773322028c31fb77e1671af0) simplify - [`1672595`](https://github.com/git-ai-project/git-ai/commit/1672595de16c476d1098f0ffeb584cb1c7f74a50) log when there is no coding agents to install ### 📊 Changes **12 files changed** (+1277 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `src/commands/git_ai_handlers.rs` (+8 -9) 📝 `src/commands/install_hooks.rs` (+147 -1) 📝 `src/git/repository.rs` (+12 -2) 📝 `src/main.rs` (+9 -0) ➕ `src/mdm/ensure_git_symlinks.rs` (+81 -0) ➕ `src/mdm/git_client_installer.rs` (+51 -0) ➕ `src/mdm/git_clients/fork_app.rs` (+414 -0) ➕ `src/mdm/git_clients/mac_prefs.rs` (+188 -0) ➕ `src/mdm/git_clients/mod.rs` (+20 -0) ➕ `src/mdm/git_clients/sublime_merge.rs` (+296 -0) 📝 `src/mdm/mod.rs` (+6 -0) 📝 `src/mdm/utils.rs` (+45 -14) </details> ### 📄 Description This PR establishes initial patterns for changing the preferences of git clients to point at Git AI re https://github.com/git-ai-project/git-ai/issues/389 - [x] Make first several bytes (up to line line) for `--version` calls on main binary call git-ai - [x] Setup a simple struct (similar to Agent installers that checks if a git client installed, what the current preferences are, and can change git path - [x] Add support for Sublime Merge on MacOS and Windows - [x] Add support Fork support on MacOS and Windows - [x] get `--exec-path` proxying correctly Todos: - [ ] Document how to add support for more Git Clients - [ ] Add a Claude skill to the repo that guides users through the above --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:13:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#446
No description provided.