Hacker News new | ask | show | jobs
by cowsup 1205 days ago
But when the prompt is:

> add .gitignore commit with msg adding ignore and push

That's not very compelling. The main selling point of AI is using simple inputs to achieve advanced outputs that match what the user wanted.

If I can say "Commit my .gitignore file," and then it runs

git add .gitignore

git commit -m "Adding .gitignore"

git push [y/N] y

Then that's one thing.

But this looks like you still have to specify the exact message you want, and be pretty deliberate about what it is you're after. At that point, why not just learn, and write, the commands yourself?

3 comments

I agree the examples could be improved, I assumed they were rushed due to the "quick and dirty" note; I recommend the OP address that by writing clearer, simpler examples, eg they could look at popular questions (that don't express requirements using git commands) on StackOverflow for inspiration.
OP here. I love this feedback. I agree this is definitely something I should work towards.

Keeping the commands as succinct as possible as well as "natural language" as possible. Even the word commit might be too git-y?

Thanks for the feedback.

What happens when you try to run the command you mentioned?