GG for Mac

The latest version of GG for Mac is 0.46.0, released . GUI for Jujutsu.

What's new in GG 0.46.0

This release is based on Jujutsu 0.46.

Added

  • Workspace management is now more consistent with JJ: historical paths are preserved, git worktrees are included when colocated and Undo no longer touches operations from another workspace.
  • Init and Clone commands create a .gitignore for .jj/ when colocated.
Show 1 more

Changed

  • Since JJ 0.33, jj undo has worked like a stack, with jj redo for replaying undone operations. GG kept the old semantics, where you could undo an undo - not very useful, but we hadn't got around to catching up. The Undo command is now accompanied by a Redo command unless you're at the top of the stack. It's interoperable with JJ, so you can undo from the CLI and Redo from a GUI or vice versa.

Source: github.com

How to update GG on your Mac

GG version history

  1. 0.46.0
  2. 0.45.1

    Deprecated

    • The gglib library target hasn't turned out to be worth the complexity - soon, JJ is introducing a jj-frontend crate which makes it easier to build custom clients, and which GG will be using. The [lib] target will be removed from the gg-cli crate in some future release, unless someone comes up with a use for it.

    Source: github.com

  3. 0.45.0

    This release is based on Jujutsu 0.45.1.

    Added

    • Panes can be resized using the central vertical separator (thanks to @urbanij).
    • On MacOS, a standard Window menu listing open repositories (thanks to @macgyver13).
    • On MacOS and Linux, you can scroll the log pane by dragging objects around it - previously this only worked on Windows.

    Changed

    • On MacOS and Windows, launching GG while it's already running opens a new window in the existing instance.

    Fixed

    • On MacOS, revision descriptions were truncated when the window was too wide (thanks to @riksteri).
    • On MacOS, the GUI-mode window titlebar adapts to your colour scheme once again; on MacOS 26+, it makes use of the empty space that Tahoe leaves on the right.
    • The Reopen command didn't work. It may have appeared to work if you pressed F5, due to a webpage reload, but only on some platforms.
    • Revsets with elided rows didn't always display accurately - they could cut off and prevent further scrolling.

    Source: github.com

  4. 0.41.0

    This release is based on Jujutsu 0.41.

    Added

    • Workspace chips are now interactive. The '@'-chip shown on a workspace's working copy revision has a context menu with these new commands:
    • Open - creates a new window (gui) or switches the current tab (web) to the selected workspace.
    • Forget - removes a workspace from the repository, abandoning its working copy if it's empty.
    • Rename... - renames the workspace.
    • Chips support double-clicking to perform a default action - track/untrack for bookmarks, open for workspaces.
    • The Changes line in the right pane shows diff stats for non-empty revisions.
    • Bookmark->Rename... now pre-fills the previous name (thanks to @urbanij).
    • Draft descriptions are saved across operations as long as the change-id of your selection remains the same.

    Fixed

    • The working directory is now canonicalised with dunce, which will hopefully avoid some reserved-name errors on Windows.
    • gg.web.default-port didn't work when set at the --repo level.
    • Text selection in the diff view no longer includes +/- prefixes (or an extra space for unchanged lines).
    • Context menus were incorrectly positioned in Wayland and nonfunctional on certain GTK versions (thanks to @rielas).

    Source: github.com

  5. 0.39.1

    Added

    • The MacOS app build will now detect when it's run from a terminal like the CLI build does, spawning in the background by default (--foreground to block the shell). (Windows already had behaviour similar to this.)
    • GG is now available on Homebrew and WinGet.

    Source: github.com

  6. 0.39.0

    This release is based on Jujutsu 0.39.

    Added

    • UI for modifying the [gg.presets] revsets - the left pane's top field has an add/remove button next to it when a custom revset is entered.
    • Improved the appearance of secondary action buttons to better distinguish them from disabled ones.
    • The gglib crate only exposed a SessionEvent-based state machine, which is fine for operations that modify a particular workspace but doesn't cover workspace-level meta-changes. Newly public APIs:
    • WorkerSession::initrepository()
    • WorkerSession::clonerepository()
    • WorkspaceSession::addworkspace()
    • WorkspaceSession::forgetworkspace()
    • WorkspaceSession::listworkspaces()

    Source: github.com

  7. 0.38.4

    Added

    • JJ config settings can now be overridden for GG only by prefixing a setting with gg.. For example, if you have...

    user.name = "JJ Author" gg.user.name = "GG Author"

    ...then revisions created by GG will be authored by "GG Author" instead of "JJ Author".

    • If ui.diff-formatter is set to a non-builtin tool, an "open in diff tool" button will appear for each file in the changelist. If you don't want this, or want to use different external tool than you use with jj-cli, set gg.ui.diff-formatter - an empty string will disable external diffing.
    • If ui.merge-editor is set, or both merge-editor and diff-formatter are set, conflicted files will have an "resolve with merge tool" button instead. Sample config for a less cluttered change list:

    [ui] diff-formatter = "bc3" merge-editor = "bc3" [gg.ui] diff-formatter="" # overrides ui.diff-formatter, removing the difftool button but not the mergetool button

    • Describing a revision with "reset author" now checks that user.name and user.email are configured, and shows an error if not.
    • Tags now have an icon.
    • Revisions which are the working copy of another workspace are displayed with a yellow dot. The workspace's name is displayed alongside bookmarks and tags.
    • The gg-cli crate, despite its name, can now be used as a library. There's just enough of an API surface to embed your own version of gg web, or you can build on its lower-level WorkerSession. Web mode has two new endpoints, /log[?revset=] and /revision?revset, which may be useful for embedding.

    Changed

    • [gg.revsets] has been renamed to [gg.presets]. Sorry about the churn, but the earlier name was a mistake - it clashes with jj's [revsets] config table.
    • Button and context menu colours are slightly less theme-respecting for a more consistent experience.

    Fixed

    • Pushes were silently rejected when branches had moved or been locked down; now an error is displayed.
    • Reverting from the GUI-mode context menu was broken.
    • Dragging a revision onto a parent edge no longer drops other parents when the rebased child is a merge commit.
    • Drag-and-drop onto the vertical segments of curved graph lines now works correctly. Previously only the horizontal part of a curved line was a valid drop target.
    • Scrollbar colours on MacOS weren't respecting dark theme.
    • Scrollbars in the log pane were covering part of the log until the window was resized.

    Source: github.com

  8. 0.38.2

    Fixed

    • The revset selector and textbox colours were broken on MacOS due to some CSS that Safari doesn't yet support.
    • The reset-author toggle in the right pane didn't become clickable when toggling on "ignore immutability" until you performed some other operation.

    Source: github.com

  9. 0.38.1

    Fixed

    • XDGCONFIGHOME wasn't being used to look up global gitignores.

    Source: github.com

  10. 0.38.0

    This release is based on Jujutsu 0.38.

    Added

    • There's a toggle in the bottom left of the screen marked with a 🛡; turning it on acts like jj --ignore immutable, affording you infinite power.
    • The command-line argument --ignore-immutable will turn on the new toggle at startup.
    • The additional revsets displayed in the left-pane selector can by customised by adding config values under [gg.revsets].

    Changed

    • Temporary behavioural toggles are now represented with a sticky button instead of a checkbox.

    Fixed

    • In web mode, right-clicking on revisions enabled context menu commands based on the selected revision rather than the one you'd clicked.

    Source: github.com

Details

Latest version
0.46.0
Released
Last checked
Website
github.com
Homebrew cask
gg