Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mkchoi212/fac

Easy-to-use CUI for fixing git conflicts
https://github.com/mkchoi212/fac

command-line conflict-resolution cui git go golang utility

Last synced: about 2 months ago
JSON representation

Easy-to-use CUI for fixing git conflicts

Lists

README

        





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.

![Preview](https://i.imgur.com/GsJMRIp.gif)

## 👷 Installation

Execute:

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

Or using [Homebrew 🍺](https://brew.sh)

```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

| Keybinding | Description |
| ------------------------------- | -------------------- |
| w | show more lines up |
| s | show more lines down |
| a | use local version |
| d | use incoming version |
| e | manually edit code |
| j | scroll down |
| k | scroll up |
| v | [v]iew orientation |
| n | [n]ext conflict |
| p | [p]revious conflict |
| h, ? | [h]elp |
| q, Ctrl+c | [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](./binding/README.md) for more information.

## ✋ Contributing

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

- Opening an [issue](https://github.com/mkchoi212/fac/issues/new)
- Sending me feedback via [email](mailto://[email protected])
- Or [tweet](https://twitter.com/Bananamlkshake2) at me!

## 👮 License

See [License](./LICENSE)