Re:Show HN: Natural Language Git (Gitgpt)
by mellosouls on Monday February 27, 2023 @03:04PM
(#34961172)
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.
Re:Show HN: Natural Language Git (Gitgpt)
by veleek on Monday February 27, 2023 @03:02PM
(#34961151)
What happens when you try to run the command you mentioned?
Re:Show HN: Natural Language Git (Gitgpt)
by OddMerlin on Monday February 27, 2023 @04:31PM
(#34962140)
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.
> 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?