Live data from Hacker News

Show HN: Git-Add–Interactive with Enhancements

github.com

1–10 of 45 posts

Show HN: Git-Add–Interactive with Enhancements

#1
I created a replacement for the perl git-add--interactive that adds a few enhancements:

- S to automatically split all hunks

- G to set a global filter on hunks to show

- A to automatically accept all hunks (after auto-splitting and global filter are applied)

Show HN: Git-Add–Interactive with Enhancements
github.com

Re: Show HN: Git-Add–Interactive with Enhancements

#2
Congratulations on publishing this. I use `git add -p` quite a lot, and this project looks interesting!

I knew that you could place a `git-xyz` executable and you can call it as `git xyz`. I didn't know you could do it with flags !?!

A small video or some screenshots would help a lot. If you can record interactivity with ascii-cinema, that will be even better.

Re: Show HN: Git-Add–Interactive with Enhancements

#4
post #2

Congratulations on publishing this. I use `git add -p` quite a lot, and this project looks interesting! I knew that you could place a `git-xyz` executable and you can call it as `git xyz`. I didn't know you could do it with flags !?! A small video or some screenshots would help a lot. If you can record interactivity with ascii-cinema, that will be even better.

Since the OP is familiar with the Go ecosystem, they could probably use vhs[1] easily to programmatically create an interactive demo GIF. That has worked very well for me in the past.

[1]: https://github.com/charmbracelet/vhs

Re: Show HN: Git-Add–Interactive with Enhancements

#6
I always love to see these little git extensions. For anyone else interested in this stuff, here are some others I like:

lazygit (of course): https://github.com/jesseduffield/lazygit

git-machete: https://github.com/VirtusLab/git-machete

rebase-editor: https://github.com/sjurba/rebase-editor

Re: Show HN: Git-Add–Interactive with Enhancements

#7
post #2

Congratulations on publishing this. I use `git add -p` quite a lot, and this project looks interesting! I knew that you could place a `git-xyz` executable and you can call it as `git xyz`. I didn't know you could do it with flags !?! A small video or some screenshots would help a lot. If you can record interactivity with ascii-cinema, that will be even better.

Good idea. I'll try to throw something together.

Re: Show HN: Git-Add–Interactive with Enhancements

#8

I always love to see these little git extensions. For anyone else interested in this stuff, here are some others I like: lazygit (of course): https://github.com/jesseduffield/lazygit git-machete: https://github.com/VirtusLab/git-machete rebase-editor: https://github.com/sjurba/rebase-editor

Been looking for something like git machete for the longest time, thanks for sharing!
Post reply on HN