GitPedia

Fac

Easy-to-use CUI for fixing git conflicts

From mkchoi212ยทUpdated June 20, 2026ยทView on GitHubยท

I never really liked any of the `mergetools` out there so I made a program that is somewhat easier to use. The project is written primarily in Go, distributed under the MIT License license, first published in 2017. It has gained significant community traction with 1,857 stars and 51 forks on GitHub. Key topics include: command-line, conflict-resolution, cui, git, go.

Latest release: v2.0.0
<p align="center"> <img src="./assets/banner.png"> <br> Easy-to-use CUI for fixing git conflicts <br> <br> <p align="center"> <a href="https://travis-ci.org/mkchoi212/fac"> <img src="https://travis-ci.org/mkchoi212/fac.svg?branch=master"> </a> <a href="https://goreportcard.com/report/github.com/mkchoi212/fac"> <img src="https://goreportcard.com/badge/github.com/mkchoi212/fac"> </a> <a href="https://codecov.io/gh/mkchoi212/fac"> <img src="https://codecov.io/gh/mkchoi212/fac/branch/master/graph/badge.svg"> </a> </p> </p> <br>

I never really liked any of the mergetools out there so I made a program that is somewhat easier to use.

Preview

๐Ÿ‘ท Installation

Execute:

bash
$ go install github.com/mkchoi212/fac@latest

Or using Homebrew ๐Ÿบ

bash
brew tap mkchoi212/fac https://github.com/mkchoi212/fac.git brew install fac

๐Ÿ”ง Using

fac operates much like git add -p . It has a prompt input at the bottom of the screen where the user inputs various commands.

The commands have been preset to the following specifications

KeybindingDescription
<kbd>w</kbd>show more lines up
<kbd>s</kbd>show more lines down
<kbd>a</kbd>use local version
<kbd>d</kbd>use incoming version
<kbd>e</kbd>manually edit code
<kbd>j</kbd>scroll down
<kbd>k</kbd>scroll up
<kbd>v</kbd>[v]iew orientation
<kbd>n</kbd>[n]ext conflict
<kbd>p</kbd>[p]revious conflict
<kbd>h</kbd>, <kbd>?</kbd>[h]elp
<kbd>q</kbd>, <kbd>Ctrl+c</kbd>[q]uit
[w,a,s,d,?] >> [INPUT HERE]

โš™๏ธ Customization

The above key-bindings and various behaviors can be altered by creating a .fac.yml file in your home directory.
Please refer to the configuration README.md for more information.

โœ‹ Contributing

This is an open source project so feel free to contribute by

๐Ÿ‘ฎ License

See License

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from mkchoi212/fac via the GitHub API.Last fetched: 6/29/2026