Skip to content
Reference

Uninstalling

Removing the application, removing capsule data, and what stays behind in your repositories.

Read this before you delete anything

Dragging GitAegis to the Trash removes the application. It does not remove what GitAegis wrote to your disk, and that matters more than it usually does, because recovery capsules contain verbatim copies of your repository content: the full text of your staged and unstaged changes, an archive of your untracked files, and a complete git bundle of the object database and every ref.

Once the capsules are gone, so is the recovery they provide. If there is any chance you still need it, read Recovering your work first.

1. Remove the application

zsh
rm -rf /Applications/GitAegis.app
Quit GitAegis first.

2. See what is there before you delete it

zsh
du -sh ~/Library/Application\ Support/dev.gitaegis.app
find ~/Library/Application\ Support/dev.gitaegis.app -maxdepth 3
Worth thirty seconds. The size is usually capsules, and capsules are the part you may still want.

3. Remove GitAegis's own data

Everything GitAegis writes lives under one directory, so one command covers it:

zsh
rm -rf ~/Library/Application\ Support/dev.gitaegis.app
What that single command removes.
PathContents
…/aegis/app.dbRepository catalogue (including the absolute path of every repository you added), operation journal, capsule index, Flight Recorder timeline, settings, credential metadata, policies, change sets. No secret, token or password is stored here.
…/aegis/app.db-wal, …/aegis/app.db-shmSQLite write-ahead log and shared-memory index. They go with the database.
…/aegis/app.backup-v<N>A copy of the whole database taken before each schema migration. Never deleted by the application, and there can be several.
…/aegis/capsules/The capsule tree. This is the directory that matters.
…/aegis/exports/Support bundles, if you generated any.

Removing only the capsules

To reclaim the space and keep the catalogue, the journal and your settings, delete the capsule tree alone:

zsh
rm -rf ~/Library/Application\ Support/dev.gitaegis.app/aegis/capsules
This removes every restore point GitAegis holds for every repository.

Capsules carry a 90-day expiry stamp, and shortly after each launch GitAegis deletes the ones that have passed it. Pinned capsules, and capsules belonging to an operation that never finished, are kept regardless, so the tree holds up to 90 days of repository content, and holds it indefinitely if the application is never launched again.

Two things inside that tree are yours to delete and are not touched by the retention pass, because a scratch directory can belong to an operation that is still running: .exports/ (Doctor export text files) and .tmp-<uuid>/ (scratch directories that self-clean on success but survive a crash).

4. The directories macOS created

macOS (not GitAegis) creates these for any application that uses a WebKit view. They are keyed on the bundle identifier. Which of them exist depends on how you used the app; delete whichever are present.

zsh
rm -rf ~/Library/Caches/dev.gitaegis.app
rm -rf ~/Library/WebKit/dev.gitaegis.app
rm -rf ~/Library/HTTPStorages/dev.gitaegis.app
rm -rf ~/Library/Saved\ Application\ State/dev.gitaegis.app.savedState
rm -f ~/Library/Preferences/dev.gitaegis.app.plist
If you removed the preferences file while the app was still running, run `defaults delete dev.gitaegis.app` as well so macOS's preferences daemon does not write it back.

5. Temporary files

zsh
rm -rf "$TMPDIR"/aegis-index-snapshot-*
rm -f "$TMPDIR"/aegis-rollback-*.patch
Both are removed on the normal path. The rollback patch contains repository diff content and would survive a crash during a rollback, so it is worth checking.

6. Remove GitAegis-owned Keychain entries

Before uninstalling, disconnect local PAT provider connections and sign out of your GitAegis account. Those actions remove GitAegis’s provider-token and account-session entries. If the app cannot open, remove only Keychain entries named cloud/session, entries beginning with aegis/provider/connection/, and legacy entries beginning with aegis/provider/.

A PAT may remain valid at GitHub or GitLab after its local copy is removed, so revoke it at the provider when global invalidation is required. Git transport credentials remain owned by your SSH setup or Git credential helper and are unaffected; do not delete them unless you intend to.

7. What GitAegis left inside your repositories

Removing GitAegis does not touch your repositories, and nothing here needs to be removed for the uninstall to be complete. But GitAegis writes refs under refs/aegis/ in repositories it operated on and never garbage-collects them, so they remain. List them per repository:

zsh
cd /path/to/repository
git for-each-ref --format='%(refname) %(objectname:short) %(contents:subject)' refs/aegis/

These refs keep commits alive that Git would otherwise be free to collect, which is the point of them. Deleting them can make lost work unrecoverable. Review the output above before removing any:

zsh
git for-each-ref --format='%(refname)' refs/aegis/ | xargs -n1 git update-ref -d
Also possible inside a repository, from an interrupted conflict resolution: .aegis-conflict-<uuid>.tmp files, which are normally renamed into place immediately.

If you set a commit identity through GitAegis, that wrote user.name and user.email into the repository’s .git/config or into ~/.gitconfig. It is ordinary Git configuration and stays where it is.

Verify

zsh
ls -d ~/Library/Application\ Support/dev.gitaegis.app 2>/dev/null
ls -d ~/Library/Caches/dev.gitaegis.app 2>/dev/null
ls -d ~/Library/WebKit/dev.gitaegis.app 2>/dev/null
ls ~/Library/Preferences/dev.gitaegis.app.plist 2>/dev/null
ls -d /Applications/GitAegis.app 2>/dev/null
No output means everything above has been removed.

If you find a GitAegis file in a location this page does not list, that is a defect in this page. Tell us at support@gitaegis.com.

30-day trial · No card required

A recovery capsule before every risky Git operation.

You see the exact commands before they run, and the operation is refused if the capsule cannot be written.

Requires Git 2.38.0 or newer, already installed.

Every risky operation, in this order

  1. Previewthe exact commands, shown before anything runs
  2. Capsulerefs, index, staged and working changes, untracked files, operation state: written to disk first
  3. Executethe commands as shown, or not at all
  4. Journalplan, commands, capsule id, outcome
No capsule, no operation. Restore plans, previews, and takes its own capsule.