| ▲ | gorgoiler 2 hours ago | |
It would be good to see a real example. There’s a sketch of one in the README.md but I’d be interested to see how it works in real life with something complicated.
Someone in this place was saying this the other day: a lot of what might seem like public commits to main are really more like private commits to your feature branch. Once everything works you squash it all down to a final version ready for review and to commit to main.It’s unclear what the “squash” process is for “make me a foo” + “no not like that”. | ||
| ▲ | esfandia 2 hours ago | parent [-] | |
I imagine you could use AI as well to create a "squash prompt", but verifying using diff that the "squash commit" results in the same code. | ||