87

GitHub - mkchoi212/fac: CUI for fixing git conflicts

 6 years ago
source link: https://github.com/mkchoi212/fac
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

banner.png


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

construction_worker Installation

Execute:

$ go get github.com/mkchoi212/fac

Or using

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

wrench 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]

gear 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.

hand Contributing

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

police_officer License

See License


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK