Ranter
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
Comments
-
found the exit part, still unable to commit.
What a fucking bad tool git. useless shit. If I tell you to commit, just commit. no need to show changes to me. I'be a;ready reviewed them in VS.
How to force that shit to commit ? -
kamen69254yI guess you didn't enter a message (with the "-m" flag), so git asked you to do so and opened an editor for that. Since you probably haven't overridden the editor, it opens vim. You can set the override like so:
git config --global core.editor "code --wait"
That's an example with VSCode. If you're using something else, replace the "code" part with whatever you like. -
*sigh*... Complaining about tools because people don't know how to use them... Classic.
-
@petergriffin
But I DONT use it. It's a first time in 10 years I need a command line.
It's fucking horrible.
I managed to solve it by git push --set-upstream origin 20210613-cssCleanUp -
@ScriptCoded Normal, I jnever needed to. Ands I won't read 255645455454 pages of docs for an OCASIONAL use (once in 10 years).
-
@Root if only... it's a selective delete between hardcoced CSS files and generated CSS files. The goal is to remove generated ones.
The kicker : If VS2019 is opened, it will automaticlly rebuild css if you delete it (Which is perfectlly cool and even needed).
So I used total commander to delete the set of files I don't want and now that whole git command line thing.
Anyone, anyone who says git CLI is intuitive is lying.
fucking lost 20 minutes while it was a c simple click in IDE.
I should've just deactivated auto recompile of SCSS, it would've be faster -
@NoToJavaScript you could have just committed the deleted files in vscode, you know that, right?
…. Right?
I could understand if you talk about submodules or some weird shit, but this is everyday stuff. Basic shit.
Sure you don’t have to read all the documentation pages, the first page would suffice, but you didn’t even read that. -
@NoToJavaScript srsly now.
Why Dafuq are you not using gitext?
And an even bigger DaFukYfuq - whyvdo you have vim installed on your windows???? -
@NoToJavaScript Wow...
Git requires an editor, you're asked on install which one you like.
Git requires Python and coreutils - hence they're distributed in the Git for Windows distribution (and a few other things, e.g. ssh / bash / mintty...)
Devs not knowing their tooling.
Always awesome.
You only find the hole if it has hairs. -
> First time in 10 years you needed to use the command line.
How do people code without the command line?
All you had to do was add your *.css to your .gitignore file, then add a message in your commit, and save before you exit. If you're not familiar with vim, don't use it. -
@IntrusionCM I dont need to know it. It's like a wrench.
i expect it just to work without resding 255 pages of doc.
I like coding, tooling should adapt to me, not other way around. -
@NoToJavaScript then put the files in gitignore. You can be more explicit than glob expansion.
Also if you want your tools to work like a wrench, then you should be a plumber. Dev tools have documentation, that's the job.
Feel free to make a better version control if you think git is so terrible. Go try svn or cvs... -
stop68024ySadly vi is still a standard. But its changing, afaik fedora was the last distro changing to nano and arch removed the editors completly from their base package group.
-
nitnip18134yJust like css frameworks like bootstrap and tailwind create webdevs who don't know shit about css, always using an IDE creates devs who don't know how to use the command line.
-
You seem to be overextended by all that desktop tooling you got.
Maybe you should switch to a web-native IDE... -
Eh hem
What is wrong with Joes own editor ??!
It’s been around since the goddamn 90s ! -
You most certainly (indirectly) installed it.
And how the fuck, in your 10 years did you not use that or knew about the presence of the tool.
And with that level of experience, I find it hardly believable that you never used the Git CLI.
And surely, any decent editor/IDE or Git GUI tools (e.g. GitKraken) have all the essential Git operations abstracted away.
It sounds like you haven't really learnt how to use Git (I hope I'm wrong). -
@Berkmann18 lil harsh man
I used svn for years
He uh did actually say for ONCE he had to do git things
Ok. that made a full circle.
I needed for ONCE to manually do git things.
(There is a plugin in V which wil lrecompile SCSS to CSS if CSS file is deleted, I want to comit delete).
WHY DO I HAVE VIM ON MY WINDOWS ????
And most importantly, how do I exit it ?
rant