Fac
Easy-to-use CUI for fixing git conflicts
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.
I never really liked any of the mergetools out there so I made a program that is somewhat easier to use.

๐ท Installation
Execute:
bash$ go install github.com/mkchoi212/fac@latest
Or using Homebrew ๐บ
bashbrew 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
| Keybinding | Description |
|---|---|
| <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.
