logoalt Hacker News

simcop2387today at 2:45 PM2 repliesview on HN

The five command part isn't really possible but you can use custom diffs for merges, git diff, etc. pretty easily. There are projects like diffsitter ( https://github.com/afnanenayet/diffsitter ) for doing more intelligent diffs like this for supported languages.

EDIT: and then an example for the merge stuff I couldn't find while typing before: https://mergiraf.org/ and HN discussion a few years ago: https://news.ycombinator.com/item?id=42093756


Replies

gritzkotoday at 4:57 PM

Five is enough. Beagle uses five HTTP verbs: GET, POST, PUT, DELETE, PATCH. And it is syntax-aware.

https://replicated.wiki/blog/uris.html

frollogastontoday at 3:30 PM

clone, pull, push, branch, merge, add, commit are the ones I use, but that's 7

show 2 replies