Skip to content

Commit ed9ca5c

Browse files
committed
Update installation README
1 parent d31361b commit ed9ca5c

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,45 @@ easy-conflict is a terminal native Git mergetool with a 3 pane IntelliJ like res
1818

1919
## Install
2020

21-
Option 1. Go install
21+
### Homebrew
22+
23+
```
24+
brew install chojs23/ec/ec
25+
```
26+
27+
### Go install
2228

2329
```
2430
go install github.com/chojs23/ec/cmd/ec@latest
2531
```
2632

27-
Option 2. Install script
33+
### Install script
2834

2935
Downloads the GitHub release binary. VERSION is optional and defaults to latest.
3036

3137
```
3238
./scripts/install.sh
39+
```
40+
41+
```
3342
VERSION=v0.1.3 PREFIX=/usr/local ./scripts/install.sh
3443
```
3544

36-
Option 3. Build from source
45+
### Build from source
3746

3847
```
3948
make build
4049
```
4150

42-
Option 4. AUR (build from source)
51+
### AUR
52+
53+
- build from source
4354

4455
```
4556
pikaur -S easy-conflict
4657
```
4758

48-
Option 5. AUR (binary)
59+
- binary
4960

5061
```
5162
pikaur -S easy-conflict-bin
@@ -146,14 +157,12 @@ Usage:
146157
Add this to your git config
147158

148159
```
149-
150160
[merge]
151161
tool = ec
152162
153163
[mergetool "ec"]
154164
cmd = ec "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
155165
trustExitCode = true
156-
157166
```
158167

159168
Notes
@@ -166,30 +175,23 @@ Notes
166175
Interactive
167176

168177
```
169-
170178
ec <BASE> <LOCAL> <REMOTE> <MERGED>
171179
ec --base <path> --local <path> --remote <path> --merged <path>
172-
173180
```
174181

175182
No args mode
176183

177184
```
178-
179185
ec
180-
181186
```
182187

183188
Non interactive
184189

185190
```
186-
187191
ec --check --merged <path>
188192
ec --apply-all ours --base <path> --local <path> --remote <path> --merged <path>
189-
190193
```
191194

192-
193195
## Resolver screen
194196

195197
The resolver shows three panes in one view.

0 commit comments

Comments
 (0)