Live data from Hacker News

Show HN: Gitgpt – Natural Language Git

github.com

21–30 of 92 posts

Re: Show HN: Gitgpt – Natural Language Git

#22
post #4

Not sure what value it adds though. Isn’t it easier to type the cmds then to write all that? If there’s a good product in it I’m afraid your examples aren’t selling it :S Was first thinking it could have value for when you forget a cmd or when learning, but I think if you can come up with those technical instructions you can also remember the cmds …

Not sure what value it adds though. Isn’t it easier to type the cmds then to write all that? It's pretty obvious it's intended use cases include memory prompts for experienced users and translations from English requirements for inexperienced users. It's even in the OP: use natural language to get git to do what you want.

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?

Re: Show HN: Gitgpt – Natural Language Git

#23
post #15

This is cool but I tried sending the same text with my general purpose GPT (text-davinci-003) command line tool and it did the same thing. This one is mine: https://github.com/runvc/askleo There are other ones of course.

404, check your url

Looks like a typo; this should work:

https://github.com/runvnc/askleo

Re: Show HN: Gitgpt – Natural Language Git

#24
post #22

Earlier quoted context omitted.

Not sure what value it adds though. Isn’t it easier to type the cmds then to write all that? It's pretty obvious it's intended use cases include memory prompts for experienced users and translations from English requirements for inexperienced users. It's even in the OP: use natural language to get git to do what you want.

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 t…

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

Re: Show HN: Gitgpt – Natural Language Git

#25
post #22

Earlier quoted context omitted.

Not sure what value it adds though. Isn’t it easier to type the cmds then to write all that? It's pretty obvious it's intended use cases include memory prompts for experienced users and translations from English requirements for inexperienced users. It's even in the OP: use natural language to get git to do what you want.

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 t…

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: Gitgpt – Natural Language Git

#29

That looks cool, though I'd be very concerned about the possibility about ChatGPT "hallucinating" a `rm -rf /` or equivalent.

Just run all the git commands by another GPT bot that determines whether it would be harmful first. GPT bots all the way down.

Re: Show HN: Gitgpt – Natural Language Git

#30
I've been looking for something similar for AI git commit messages... basically feed ChatGPT a git diff and ask it what changed and to write a git message. I've done this directly in the ChatGPT UI with some small changes and it produces some great messages...

I would be very concerned to run this on company code or large diffs. But small simple commits, which should be the goal with commit messages anyways, would take away some of the tedium of the git flow.

Post reply on HN