Skip to content
KevinJordilPublic

About

Desktop Git client to manage all your repositories in one place

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GitRep icon

GitRep

Local multi-repo git client (Electron + React). A dashboard of all your repositories; a commit graph of every branch with search, isolate/hide, commit details and a context menu (checkout, branch, tag, cherry-pick, revert, reset); stashes; drag a branch onto another to merge, rebase or fast-forward, with conflict prediction; interactive rebase (reorder, reword, squash, fixup, drop, with a plan proposed by Claude) and push with --force-with-lease after a rewrite; undo and redo of every operation; a conflict editor (both sides named, block by block, editable result, rebase steps) with resolutions proposed by Claude or handed over to Claude Code in a terminal; diffs with staging per file, hunk or line, and an editor (Diff | Edit in the header of a working-tree file) to change the file while looking at its changes: syntax colors, search, gutter marks, Ctrl+S, one undo step per save; the history of a file through its renames and its blame, colored by age, back to any revision; and commit, merge and stash messages, commit explanations and merge advice suggested by Claude.

The history of a repository with its branches, tags, commits not pushed and not pulled, and the changes being worked on

The diff of a changed file, staged by hunk or by line

Download

Installers are attached to each release (built from the vX.Y.Z tags):

  • Linux: GitRep-*-linux-*.AppImage runs on any distribution (chmod +x GitRep-*.AppImage, then run it); .deb for Ubuntu and Debian (sudo apt install ./GitRep-*.deb); .pacman for Arch (sudo pacman -U GitRep-*.pacman).
  • Windows: GitRep-*-win-x64-setup.exe (installer) or GitRep-*-win-x64-portable.exe (no installation).
  • macOS: GitRep-*-mac-arm64.dmg for Apple silicon, GitRep-*-mac-x64.dmg for Intel. The app has no Apple developer signature: on first launch, right-click it in Applications and choose Open. If macOS still says it is damaged, run xattr -cr /Applications/GitRep.app once.

Started from the application menu, the AppImage and the Linux packages run with --no-sandbox (see Sandbox below). When you start the AppImage from a terminal on Ubuntu 24.04 or later, add --no-sandbox yourself if it does not open.

Run

npm install
npm run dev          # development (hot reload)
npm test             # tests (parsers + real temporary git repositories)
npm run e2e          # end-to-end tests (builds, then drives the app with Playwright)
npm run smoke        # checks that the window loads without errors

Undo

Undo (toolbar or Ctrl+Z) reverts the last operation done in GitRep, Redo (toolbar, Ctrl+Shift+Z or Ctrl+Y) replays it: commits and amends, checkouts, branch creation and deletion, tags, cherry-picks, reverts, resets (a hard reset brings the discarded local changes back), merges, rebases (interactive ones too), fast-forwards, pulls, stash push / pop / drop and discarded changes. The history is kept in memory, per repository, and is lost when GitRep quits. Undo never overwrites local changes (git reset --keep) and refuses when the repository was changed outside GitRep since: the history of that repository is then cleared.

History graph

The graph lists the commits newest first across branches (git log --date-order). By default it draws the active branches: those with a commit in the last 30 days, plus the checked-out branch and its upstream. The "Branches shown" menu above the graph switches to 90 days or to all branches and tags, or isolates one branch whatever its age. In the sidebar, the other branches are folded under "N older branches". Commits no remote has yet (on any local branch) get a hollow dot with an up arrow, dashed lines down to the pushed history and an ↑ chip; commits of the current branch's upstream that it lacks get the same with a down arrow and a ↓ chip. The header sums them up (↑ 2 not pushed · ↓ 1 to pull) and each part selects the first such commit.

Commit message instructions

The sliders button next to "Generate with Claude" opens free-text instructions that are added to what Claude is told when it writes a commit message (language, prefixes, length...): one text for all repositories and one for the current repository, up to 4000 characters each, which wins on a conflict. The fixed output rules (plain message, subject of at most 72 characters) always apply. They are stored in the GitRep config on this computer (settings.commitInstructions and commitInstructions on each repository), never in the repository. A dot on the button shows that instructions are active.

Review with Claude

"Review" in the toolbar (or "Review with Claude…" in the menu of a branch, in the sidebar or the graph) asks Claude to review what a branch changes since it left another one (git diff base...branch), with a prompt you choose. Sensitive files (.env, keys, credentials…) are never sent; a very large branch is sent in up to four parts, and files that still do not fit are listed as not reviewed. The findings appear in the branch diff, each one in an editable card that you keep or ignore. Two modes:

  • My branch: "Prepare fixes" writes the kept suggested fixes into the working files of the checked-out branch, as unstaged changes. Review them in Changes, stage block by block or discard them; nothing is committed. A fix whose lines changed since the review is skipped, never forced, and Undo reverts all the prepared fixes at once.
  • Merge request (GitLab) or pull request (GitHub): when one is open for the branch, the kept findings are posted as comments on its diff lines after you click Post. On GitLab they can go as a draft review published at once, on GitHub as a pending review you submit there. A failed comment stays listed and Retry sends only the failed ones.

The forge comes from the branch's remote URL: github.com, gitlab.com and hosts named like a GitLab instance are recognized, and you name any other host once (settings.forgeHosts). Accounts (the gear in the title bar) hold one personal access token per host: GitLab needs the api scope, GitHub "Pull requests: Read and write" and "Contents: Read". A token is stored only after a successful connection test, encrypted with the system keyring (Electron safeStorage) in ~/.config/GitRep/accounts.json, never in config.json, and only sent to its forge. Without a keyring, tokens are not stored.

Review prompts are free texts (up to 4000 characters) stored in the GitRep config, never in the repository: named prompts for every repository (settings.reviewPrompts, the first is the default) and an optional prompt of the repository itself (reviewPrompt), which is then its default. "Edit prompts…" in the review dialog edits them. The fixed output format Claude must follow always applies.

Install in the GNOME launcher

npm run package
sh scripts/install-desktop.sh

Platforms

"Open terminal", "Open in VS Code" and the hand-over to Claude Code work on three systems:

  • Linux: gnome-terminal (fallback x-terminal-emulator for "Open terminal"; the hand-over needs gnome-terminal) and code.
  • macOS: Terminal (open -a Terminal; the hand-over runs claude in Terminal through osascript) and code.
  • Windows: Windows Terminal (wt.exe), falling back to cmd.exe; code is run through cmd.exe. The Claude path is found with where claude.

code must be on the PATH (VS Code: "Shell Command: Install 'code' command in PATH" on macOS).

Configuration

~/.config/GitRep/config.json: list of repositories, open tabs, settings.claudeModel (default haiku), settings.claudePath (empty = resolved through your shell), settings.activeDays (branches drawn by default: those with a commit in the last N days, 0 = all; default 30, set from the graph), settings.sidebarWidth and settings.rightWidth (pane widths in pixels, set by dragging their edges) and settings.graphColumns (widths in pixels of the graph, Author, Date and SHA columns of the history, set by dragging the header separators: 48 to 480, the graph 40 to 480 or 0 for automatic) and settings.commitInstructions (see above).

Sandbox

This system restricts user namespaces (AppArmor), hence --no-sandbox. To re-enable the Chromium sandbox, create /etc/apparmor.d/gitrep (root required). Adapt the path to where the repository lives on your machine:

abi <abi/4.0>,
include <tunables/global>
profile gitrep /home/kevin/gitrep/dist/linux-unpacked/gitrep flags=(unconfined) {
  userns,
  include if exists <local/gitrep>
}

then run sudo apparmor_parser -r /etc/apparmor.d/gitrep and remove --no-sandbox from the .desktop file.

About

Desktop Git client to manage all your repositories in one place

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages