Git Clients

ec – terminal three-way Git merge tool

ec, also called easy-conflict, is a terminal-based tool for resolving Git merge conflicts. It provides an interface in which competing changes and the proposed result can be viewed together instead of repeatedly editing conflict markers in a plain text file.

The program is intended for developers who prefer staying in a terminal while merging branches or resolving conflicts encountered during a rebase. It can be used as a Git mergetool and includes options for examining the common base when that information is available.

Three-way conflict resolution benefits from separating the common ancestor from the two edits that followed it. This makes it easier to identify which lines were introduced by each branch and how the final result should look. A terminal interface keeps that comparison accessible over SSH or inside a console workflow. The editable result pane makes it possible to inspect the outcome while resolving individual changes, rather than applying competing hunks without seeing their combined effect.

This is free and open source software.

Key Features

  • Displays a three-pane merge interface for the two competing versions and the editable result.
  • Can incorporate the common ancestor into a diff3-based comparison.
  • Lists unresolved files when started without a specific file, allowing the user to choose which conflict to resolve.
  • Integrates with Git mergetool workflows.
  • Provides optional backup creation before writing a merged file.
  • Offers non-interactive operation for scripts and other automation contexts.
  • Supports terminal navigation through conflict regions and the competing changes.

Website: github.com/chojs23/ec
Support:
Developer: chojs23
License: MIT License

ec
Click animation for full size

ec is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Git Tools for Diff Review and Repository History
difftasticStructural diff tool that compares files based on their syntax
git-filter-repoQuickly rewrite git repository history
onefetchDisplays information about a local Git repository
git-statsLocal git statistics including GitHub-like contributions calendars
diff-so-fancyAttractive diffs with diff-highlight and more
BFG Repo-CleanerClean unwanted data from Git repository history
git-deltaViewer for git and diff output
gitlogueCinematic Git commit replay tool
git-quick-statsAccess various statistics in a git repository
git-whoCommand-line Git analysis tool
git-standupRecall what you did on the last working day
git-of-theseusAnalyze how a Git repo grows over time
git-sizerCompute various size metrics for a git repository
diffnavGit diff pager based on delta but with a file tree, à la GitHub
critiqueTerminal UI for reviewing git diffs
git-big-pictureVisualization tool for Git repositories
herculesGain advanced insights from Git repository history
keifuTUI that visualizes Git commit graphs
git-fameGit repository collaborators sorted by contributions
needleHighlights GitHub PRs
mergirafGit merge driver
git-historyAnalyze Git history using SQLite
ecTerminal Git mergetool
diffrWord-by-word diff highlighting utility
git-scopeFast TUI dashboard to view the git status of all your repositories
mamediffManages unstaged and staged Git diffs
deadbranchKeep Git repositories tidy
GitTopLightweight desktop client for GitHub notifications
git-heatmapGenerates a customizable heatmap

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted