File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " splitdiff" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 0.1 .0" ,
44 "description" : " Pretty line-level side-by-side (split) diffs in the terminal" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/njbotkin/splitdiff"
8+ },
59 "main" : " index.js" ,
610 "scripts" : {
711 "test" : " echo \" Error: no test specified\" && exit 1"
Original file line number Diff line number Diff line change 22
33Pretty split (side-by-side) diffs in your terminal!
44
5- Can be used via CLI or API. You can pipe git diffs into it like so: ` git --no-pager diff HEAD~2 HEAD~1 | splitdiff ` , or use it like ` splitdiff a b `
5+ ##install
6+
7+ ` npm i splitdiff `
8+
9+ ##usage
10+
11+ Can be used via CLI or API. Two different patterns:
12+
13+ - ` git --no-pager diff HEAD~2 HEAD~1 | splitdiff `
14+ - ` splitdiff a b `
15+
16+ git diffs generally produce better results than the [ built-in diff implementation] ( https://www.npmjs.com/package/diff ) .
You can’t perform that action at this time.
0 commit comments