Hacker News new | ask | show | jobs
by m-chrzan 1953 days ago
Looks like github1s really kicked off everyone making these git previewers.

Thread about git-peek (which the author here cites as inspiration) from a few days ago: https://news.ycombinator.com/item?id=26108039

And the top commenter there created a cute bash 10-liner that basically implements the same functionality: https://git.sr.ht/~alexdavid/dotfiles/tree/master/bin/git-pe...

1 comments

Guilty as charged: https://github.com/drzel/vim-repo-edit

Above only works on vim. But has the advantage of working within vim, so no need to open a new instance, and with no external dependencies beyond git.

All three spin-offs (git-peek, git-peak, vim-repo-edit) work with any git repo, maintaining the decentralised nature of git

This latest one (repo-peek) explicitly only works with github and gitlab