Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants

(Double rant day)
So I had a little problem and I thought, why not test a new AI tool on it.
The problem: git-rebase, but copy tags. Example: if you apply a commit with the tag G2, create a tag called G2' in the new commit.
The tool: Perplexity. I had heard good things about it.
TL;DR: Had to do it myself.
1st it told me to do it by hand.
"What about --exec?"
Oh yeah, call a bash script to do it.
"What would the script look like...?"
Ooh, like this, look.
"Ok, I see. Can we just put it all in the command? The script can be simplified, only one tag per commit that has any, and forget the echo statements."
Yeah definitely, here you are.
"It's still complex, the script can be simplified."
Yes, I can remove some parts. Now.
Great, so now I had a single command, that would do what I wanted, right?
Nope.
- It referenced files that didn't exist.
- It had badly escaped characters in the bash string.
- And after fixing that*, for some reason Git didn't accept it, even if it was well formatted, and the AI never told me that could happen.
* Mind you, fixing that took some time of reading documentation of git commands and options I never used, snooping around what was accessible in Git's internals during a rebase, rewriting the bash lines... like, I didn't even use any part of the AI solution.
Evidently Git's very hard even for AI lol
It's neither artificial nor intelligent, it's trash. 0 stars.
(I know Perplexity is not "an AI", it was most probably using ChatGPT. Can't bother to see how to check.)
Maybe I was using it wrong??
rant
bash
rebase
ai
tags
perplexity
git