7

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 ?

Comments
  • 2
    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 ?
  • 2
    `git rm path/to/my/cares`
    `git commit -m “annnd it’s gone”`
  • 3
    I 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.
  • 13
    *sigh*... Complaining about tools because people don't know how to use them... Classic.
  • 2
    @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
  • 1
    @ScriptCoded Normal, I jnever needed to. Ands I won't read 255645455454 pages of docs for an OCASIONAL use (once in 10 years).
  • 1
    @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
  • 1
    @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.
  • 2
    @NoToJavaScript srsly now.

    Why Dafuq are you not using gitext?

    And an even bigger DaFukYfuq - whyvdo you have vim installed on your windows????
  • 1
    @magicMirror My point exactly. How the fuck I have it installed ?
  • 6
    @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.
  • 3
    > 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.
  • 1
    @lungdart false.

    Read again. Needed to ignore SOME files. Manual job here.
  • 1
    @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.
  • 1
    @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...
  • 1
    We all made a full circle a few times now

    Welcome to what’s left of life
  • 1
    But on another note why are you using vim ? Lol
  • 1
    You uh
    Can use a GUI
    Or configure a different tool methinks

    Like joe
  • 1
    Wait windows ? Get tortoisegit !
  • 1
    Sadly 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.
  • 1
    @stop what is wrong with JOE ??????
  • 1
    Just 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.
  • 0
    You seem to be overextended by all that desktop tooling you got.
    Maybe you should switch to a web-native IDE...
  • 0
    Eh hem
    What is wrong with Joes own editor ??!

    It’s been around since the goddamn 90s !
  • 0
    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).
  • 0
    @Berkmann18 lil harsh man
    I used svn for years

    He uh did actually say for ONCE he had to do git things
Add Comment