@laogui: 经过几天使用,我可以毫不夸张地说:Rebased 就是目前最强的 Git 图形化客户端。 用过 JetBrains 系列 IDE 的朋友都知道,它的 Git 功能体验非常好——尤其是 Diff 功能。但这几年 JetBrains 在 AI…

X AI KOLs Timeline 产品

摘要

Rebased 是一款基于 JetBrains IntelliJ 社区版构建的开源 Git 图形化客户端,砍掉了所有语言相关功能,只保留并优化了 Git 工具,提供了顶级的 Diff、Review、交互式 Rebase 和冲突解决体验,免费使用且零学习成本。

经过几天使用,我可以毫不夸张地说:Rebased 就是目前最强的 Git 图形化客户端。 用过 JetBrains 系列 IDE 的朋友都知道,它的 Git 功能体验非常好——尤其是 Diff 功能。但这几年 JetBrains 在 AI 编程领域一直原地踏步,导致很多人转投其他工具,可它的 Git 体验却始终让人念念不忘。 一位大神直接基于开源的 IntelliJ Community 版,把所有开发语言相关功能全部砍掉,只保留 Git 功能,再做了大量 UI 优化,打造出了这个史上最强 Git 客户端——Rebased。 对已经习惯 JetBrains 生态的人来说,用它几乎是零学习成本,打开就是熟悉的味道。 亮点功能特色: - 完全开源(Apache 2.0 协议),免费使用、可随意二次开发 - 顶级 Diff / Review 体验(JetBrains 标志性优势) - 完整的 JetBrains VCS 工具窗(Commit、Git Log 图表、Branches 面板) - 交互式 Rebase 编辑器 + 视觉化冲突解决器 - 内置全文搜索 - 内置终端(支持多 Tab) - 原生支持 Git Worktree - 与 IntelliJ 100% 一致的快捷键和操作流 唯一的缺点是内存占用比纯轻量 Git 工具稍大,但依然远低于 JetBrains 完整 IDE。 多 Tab 终端 + Git Worktree,再搭配 Claude Code,Amp 这些工具,它已经能替代现在一堆类似 Superset 的 “Agentic IDE” 的工具了。 https://github.com/DetachHead/rebased… 感谢 @ayanamist 分享
查看原文
查看缓存全文

缓存时间: 2026/05/08 19:37

经过几天使用,我可以毫不夸张地说:Rebased 就是目前最强的 Git 图形化客户端。 用过 JetBrains 系列 IDE 的朋友都知道,它的 Git 功能体验非常好——尤其是 Diff 功能。但这几年 JetBrains 在 AI 编程领域一直原地踏步,导致很多人转投其他工具,可它的 Git 体验却始终让人念念不忘。 一位大神直接基于开源的 IntelliJ Community 版,把所有开发语言相关功能全部砍掉,只保留 Git 功能,再做了大量 UI 优化,打造出了这个史上最强 Git 客户端——Rebased。 对已经习惯 JetBrains 生态的人来说,用它几乎是零学习成本,打开就是熟悉的味道。 亮点功能特色: - 完全开源(Apache 2.0 协议),免费使用、可随意二次开发 - 顶级 Diff / Review 体验(JetBrains 标志性优势) - 完整的 JetBrains VCS 工具窗(Commit、Git Log 图表、Branches 面板) - 交互式 Rebase 编辑器 + 视觉化冲突解决器 - 内置全文搜索 - 内置终端(支持多 Tab) - 原生支持 Git Worktree - 与 IntelliJ 100% 一致的快捷键和操作流 唯一的缺点是内存占用比纯轻量 Git 工具稍大,但依然远低于 JetBrains 完整 IDE。 多 Tab 终端 + Git Worktree,再搭配 Claude Code,Amp 这些工具,它已经能替代现在一堆类似 Superset 的 “Agentic IDE” 的工具了。 https://github.com/DetachHead/rebased… 感谢 @ayanamist 分享


DetachHead/rebased

Source: https://github.com/DetachHead/rebased

Rebased

A git client based on the IntelliJ platform.

This project aims to be an open-source remake of the short-lived jetbrains git client. It’s basically just a JetBrains IDE with all the bundled plugins removed except the git integration, with some additional UI tweaks.

Why?

See this youtrack issue for the many reasons people have been requesting this for almost a decade. At the time of writing, it’s the #3 most upvoted open issue on YouTrack.

Installation

Linux

Download the appimage from GitHub releases.

We recommend using either AppManager or Gear Lever to install it to your applications menu, and for automatic updates.

Windows

You can either download the installer .exe from GitHub releases or install via winget:

winget install detachhead.rebased --source winget

macOS

Install with homebrew:

brew install detachhead/tap/rebased
Manual installation

Download the .dmg from GitHub releases

After copying Rebased.app to your Applications folder, you may see the following error message:

“Rebased.app” is damaged and can’t be opened. You should move it to the Bin.

This is Apple lying to you. Nothing is “damaged”, it’s just not code-signed with an Apple Developer certificate. To fix it, run the following command:

xattr -rd com.apple.quarantine /Applications/Rebased.app

Credits

  • https://github.com/obiscr/intellij-community - a previous attempt at creating a jetbrains git client that i cherrypicked some commits from
  • jetbrains, obviously

The remainder of this readme is mostly unchanged from the upstream intellij-community repo.

Getting the Source Code

This section will guide you through getting the project sources and help avoid common issues in git config and other steps before opening it in the IDE.

Prerequisites

  • Git installed
  • Install IntelliJ IDEA 2023.2 or higher.
  • For Windows set these git config to avoid common issues during cloning:
    git config --global core.longpaths true
    git config --global core.autocrlf input
    

Clone Main Repository

IntelliJ open source repository is available from the GitHub repository, which can be cloned or downloaded as a zip file (based on a branch) into <IDEA_HOME>. The master (default) branch contains the source code which will be used to create the next major version of all JetBrains IDEs. The branch names and build numbers for older releases of JetBrains IDEs can be found on the Build Number Ranges page.

You can clone this project directly using IntelliJ IDEA.

Alternatively, follow the steps below in a terminal:

git clone https://github.com/detachhead/rebased.git --recurse-submodules
cd rebased
  • For faster download: If the complete repository history isn’t needed, create shallow clone To download only the latest revision of the repository, add --depth 1 option after clone.
  • Cloning in IntelliJ IDEA also supports creating shallow clone.

This project requires additional Android modules from separate Git repositories, which is why --recurse-submodules is needed. Ideally these should not be needed since Rebased is not built with the Android plugin, but it seems too tightly integrated with the codebase to be able to easily remove it. So for now I’ve kept it as a git submodule instead of relying on a script. This way, the project is always pinned to a version of the android repo that works with it.

Running IntelliJ IDEA

To run the IntelliJ IDEA that was built from source, choose ‘Run | Run’ from the main menu. This will use the preconfigured run configuration IDEA.

To run tests on the build, apply these settings to the ‘Run | Edit Configurations… | Templates | JUnit’ configuration tab:

  • Working dir: <IDEA_HOME>/bin
  • VM options: -ea

Running IntelliJ IDEA in CI/CD environment

To run tests outside of IntelliJ IDEA, run the tests.cmd command in <IDEA_HOME> directory.tests.cmd can be used in both Windows and Unix systems. Options to run tests are passed as system properties to tests.cmd command. You may find the list of available properties in TestingOptions.kt

# Build source code _incrementally_ (do not build what was already built before): `
./tests.cmd -Dintellij.build.incremental.compilation=true
#Run a specific test: 
./tests.cmd -Dintellij.build.test.patterns=com.intellij.util.ArrayUtilTest

tests.cmd is used just to run CommunityRunTestsBuildTarget from the command line. You can also call it directly from IDEA, see run configuration tests for an example.

相似文章

@sunmer575399: 刷到一个神仙开源项目cline,65.6k star,写代码效率确实能提不少 一个引擎同时给SDK、CLI、VS Code和JetBrains全家桶用,你在编辑器里点两下,它自己读代码、建文件、跑命令,改完还等你点头才动手。 终端里跑全自…

X AI KOLs Timeline

介绍开源AI编码代理工具Cline,支持SDK、CLI、VS Code和JetBrains全家桶,可在IDE和终端中自动读代码、建文件、跑命令,并支持看板并行多agent和CI/CD集成。