16 comments

  • metadat7 hours ago
    Does anyone know why git broke the long standing convention of &quot;--&quot; early on? Kind of a nightmare for humans to use.<p>Remembering app-specific one-offs is kind of the worst!
    • doctoboggan7 hours ago
      git&#x27;s data model is incredibly powerful and flexible, but its UX is famously... interesting:<p><a href="https:&#x2F;&#x2F;stevelosh.com&#x2F;blog&#x2F;2013&#x2F;04&#x2F;git-koans&#x2F;" rel="nofollow">https:&#x2F;&#x2F;stevelosh.com&#x2F;blog&#x2F;2013&#x2F;04&#x2F;git-koans&#x2F;</a>
      • inigyou1 hour ago
        TortoiseGit was very cool, and nothing stops us making more alternative UXes.<p>I miss the extensibility of Windows, back when programs still fought for the users (Tron reference). Shell extensions, COM&#x2F;OLE, ActiveX controls. Sure they were annoying but they actually did stuff that we just can&#x27;t do any more. Even start menu folders with more than one entry. It was like each thing you installed could be a plugin for your whole computer, not just an isolated space where you visit sometimes (the iOS model).
      • freehorse1 hour ago
        I puzzled over the &quot;The Long and Short of It&quot; as for me (git version 2.54.0)<p><pre><code> git -h branch </code></pre> gives the same output as<p><pre><code> git branch --help </code></pre> so I could not understand why master git jumped and died. But it seems that in older versions it threw an argument error according to the old discussion [0].<p>I see that `git -h branch`, `git branch --help` and `git --help branch` give the long output but `git branch -h` gives the short. I suspect that `git [-h | --help] branch` is converted to `git help branch` which runs `help` with argument `branch`. But `git branch -h` runs `branch` with argument `-h`. Also as `git -h alias` prints the alias definition while `git alias -h` gives the short help for the aliased command.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5512103">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5512103</a>
      • ffsm84 hours ago
        It&#x27;s always such a good experience to read well written articles like this from the early 2010s when our industry was a lot less self-important<p>Especially because the text is actually written by a human, and it&#x27;s clear from every sentence
        • dc3k4 hours ago
          I also appreciated that the site didn’t give me a popup asking me to sign up to its newsletter.
          • lukan1 hour ago
            I did not appreciate reading with a mobile, though. Text did not fit the screen, but FF reader mode fixed it.
      • ulrikrasmussen2 hours ago
        I use git every day and can do quite advanced stuff with it, but I do all of my work using magit in emacs. I don&#x27;t even use emacs for writing code anymore, I only use it for git. I just can&#x27;t be bothered with using the CLI, it is too painfully inconsistent.<p>The only downside to this is that it is hard for me to help people with git problems since I can only tell them what conceptually has to be done, not how to accomplish it using the CLI.
        • IshKebab57 minutes ago
          When beginners need help with Git and they&#x27;re using the CLI the first and best advice I give them is to stop using the CLI.
          • sigseg1v5 minutes ago
            This is interesting to me because when beginners come to me for help with git and they&#x27;re using a GUI, the first thing I do is tell them to ditch it and learn the CLI.
      • inigyou1 hour ago
        I don&#x27;t fully agree with the checkout one. We <i>do</i> speak of checking out a file and checking out a branch using the same word, and they are not the same thing.<p>checkout -b however makes no sense. It should be the default behavior of git branch. It was probably put under checkout because it made for more straightforward code.
      • peheje5 hours ago
        These are great
        • andy994 hours ago
          I don’t understand any of them. Normally even when I’m not really familiar with a tool, I have enough background knowledge to understand why it’s funny e.g. Scheme and Haskell jokes or something. I do use basic git regularly and all of this is over my head. I don’t know if that speaks to how complicated and unintuitive some of the advanced stuff is?
          • xigoi1 hour ago
            The second one is about how Git uses the word “checkout” for three unrelated operations, violating the Unix philosophy.
          • jibal3 hours ago
            The context here is the statement that &quot;its UX is famously... interesting&quot;. You don&#x27;t have to understand anything other than how wildly inconsistent the git CLI is.
      • Bugg43 hours ago
        The hobgoblin one sent me
      • pydry3 hours ago
        iirc Linus actually conceded this very early on and said that he thought it would be better if it were used as infrastructure to build tools on rather than the tool itself.<p>no idea where I saw that though and it was many many years ago.
        • mhh__39 minutes ago
          This is actually kind of happening! (In a way)<p>There are, at this point, quite a few git-successors that either basically or literally use gits object model - git-butler, jujutsu, sapling (iirc). It&#x27;s at worst good-enough.
        • edelbitter2 hours ago
          In any case, the refined version of that admission - the deliberate porcelain&#x2F;plumbing distinction - is still best explained in the git docs and I wish more tools would copy it. apt(-get) has cautiously started that process, while GnuPG sadly remains a box shock full of surprises in both API and CLI.
        • inigyou1 hour ago
          I think at that point he only had the plumbing commands. Commands like &quot;git commit&quot; <i>are</i> the tools he meant.
    • userbinator5 hours ago
      The <i>Single UNIX Specification</i> mentions the &quot;--&quot; convention in 1997 (at which point it was already in widespread use): <a href="https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;7908799&#x2F;xbd&#x2F;utilconv.html#tag_009_002" rel="nofollow">https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;7908799&#x2F;xbd&#x2F;utilconv.h...</a><p>The first release of git was in 2005, and Torvalds&#x27; Linux was clearly UNIX-inspired, so it&#x27;s not like this was due to considerations for some other OS like DOS&#x2F;Windows.
      • j16sdiz5 hours ago
        The practice was there before the spec
        • setopt5 hours ago
          Which the parent poster said in their comment?
    • dmurray4 hours ago
      It sounds like they didn&#x27;t need (at the time) to separate arguments from options, but they did need to separate revisions from pathspecs. So they repurposed &quot;--&quot; as the most familiar separator.<p>Probably they <i>were</i> trying to use familiar conventions, but when they later needed to separate arguments from options, that was a closer match for what other people were using &quot;--&quot; for, but it was too late.
      • stingraycharles3 hours ago
        So basically don’t break conventions by repurposing existing operators for something else.<p>It’s silly as git is otherwise a very elegantly designed application, and you’d expect it to be developed by people who are very accustomed to these conventions.
        • zoky1 hour ago
          As a primarily FreeBSD user who feels like I have to relearn the idiosyncrasies of practically the entire system every I install a new Linux distro, the mess of configuration options somehow actually seems entirely on-brand to me.
    • epistasis7 hours ago
      Since it separates out the pathspec, doesn&#x27;t that match the long standing convention?
      • jibal3 hours ago
        The convention is that a leading `-` isn&#x27;t recognized as a flag after `--`.
    • p-e-w7 hours ago
      When something appears to be poorly designed, then the deeper explanation is often that it’s indeed poorly designed.
    • vips7L5 hours ago
      Flags for Unix tools have never been friendly.
      • VBprogrammer2 hours ago
        Find is a great example. It&#x27;s such a useful and powerful tool but it&#x27;s arguments get me on a regular basis.
    • TZubiri5 hours ago
      One of the undeniable benefits of LLMs is that the end of guessing and remembering commands is now optional.<p>Now we can all run important CLI programs like Zork without a &#x27;command doesn&#x27;t exist&#x27; to command ratio of 1:4
      • xg155 hours ago
        Yeah, now the LLMs are guessing the commands...
        • gritzko49 minutes ago
          Spot on. I had my repo messed up more than once. Sometimes it is quick enough to push that to GitHub.
  • yobert7 hours ago
    So I should name my next branch ‘--‘ is what I&#x27;m hearing :)
    • fragmede7 hours ago
      [flagged]
      • randunel6 hours ago
        That&#x27;s still the default in my localhost, but I get a warning that it&#x27;ll change.
        • inigyou1 hour ago
          You can set it in the config to whatever you want and the warning goes away.<p>The whole default branch name change was a terrible idea that caused many more problems than it solved—as was already pointed out at the time.<p>But if you&#x27;re going to set a name anyway, may as well call it trunk, or dominatrix, depending upon today&#x27;s silliness level.
      • 4gotunameagain5 hours ago
        [flagged]
        • tcfhgj4 hours ago
          Why?
        • oneeyedpigeon5 hours ago
          There are advantages beyond avoiding the use of a charged term.
          • inigyou1 hour ago
            there are no advantages, and the massive disadvantage of having to try both every time you encounter a new repository or forget which one it is.
          • jchw5 hours ago
            It wasn&#x27;t a charged term and there are not.
          • 4gotunameagain4 hours ago
            It&#x27;s only charged if you are a white upper middle class american. The rest of the world understands the difference between a term used in a software version control tool and slavery. The rest of the world also does not change a word on git while simultaneously fostering extremist far right views.<p>The whole thing makes absolutely no sense whatsoever.
            • jchw4 hours ago
              It wasn&#x27;t anyways. It was clearly in reference to &quot;master copy&quot;, which is also not a charged term. Neither was &quot;master bedroom&quot;. Hell, for most of my life I&#x27;d never even seen anyone raise objections over the master&#x2F;slave dichotomy used in software and hardware either, which is a far easier to understand argument. It&#x27;s all very recent, last decade and some change, despite many of these terms having come into use after the abolishment of slavery in the U.S.<p>The word &quot;master&quot; is of course still in widespread use elsewhere too. We still say &quot;Master&#x27;s degree&quot; or &quot;mastering a skill&quot;.<p>The point of this entire exercise was group dynamics, but what I hate most about it is something that I also hate about other recent bullshit: I hate that not wanting to play is in itself forced to be an active stance. I have no reason or desire to change my default branch name; it is staying master. That is not an attempt to signal anything at all. This is not &quot;chud-coded&quot;. It is literally, the absence of a desire to participate.<p>And we&#x27;ll never forget it either, because now even in pre-existing projects we have to checkout&#x2F;pull master <i>then</i> main. Or worse. You know how many times I&#x27;ve accidentally rebased off of an ancient version of something because master still exists? This is surprisingly common.<p>It was an entire waste of time and everyone who has remaining respect for themselves should be honest about it.
              • majewsky3 hours ago
                &gt; It is literally, the absence of a desire to participate.<p>I agree with this position, and yet I would argue that, by taking the time to write out this comment, you are acting inconsistenly with your own statement.<p>I have old repos with &quot;master&quot; and new repos with &quot;main&quot;. If someone were to approach me about one of the old repos and ask about the default branch, I would <i>immediately</i> change it to &quot;main&quot; without any hesitation, because it is all but certain that trying to get into an argument will waste more of my time than just doing the change would.
                • inigyou1 hour ago
                  What if someone asked you the same about a new repo?
                • jchw2 hours ago
                  My desire to not participate does not mean that I don&#x27;t want to ever talk about it or that I am trying to minimize time wasted arguing about it. Hell, I&#x27;m happy to waste time arguing about anything, really. Especially if it&#x27;s something that annoys me.
              • oneeyedpigeon3 hours ago
                &gt; I have no reason or desire to change my default branch name<p>And you&#x27;re absolutely entitled to. I have no problem with anyone choosing to stick with &quot;master&quot;, provided they have no issue with me preferring &quot;main&quot;.
                • IshKebab51 minutes ago
                  But I <i>do</i> have an issue with you preferring `main`. It means I have the constant annoyance of remembering whether a project uses `main` or `master`.<p>It&#x27;s not a <i>big</i> annoyance but it is an especially painful one because it didn&#x27;t used to exist and it was deliberately introduced for completely bullshit reasons.
          • Dansvidania4 hours ago
            such as?
          • fragmede5 hours ago
            to be fair, I like typing less, and main is shorter than master.
  • bombcar2 hours ago
    This is actually one of the few places powershell begins to do something close to shine - the cli mixes data and commands in a way that we really shouldn&#x27;t have to do.<p>The saddest thing is even ASCII has characters to help with this but since keyboards can&#x27;t type them nobody used them.
  • bradley137 hours ago
    As with almost any successful system: more and more special features and edge cases get added. Git has become ridiculously complex.<p>I wonder: would it not be better to tell users with those edge cases to fix their problems some other way? To take an example from the article: why does someone have a filename beginning with a dash? Maybe don&#x27;t do that.
    • zanecodes6 hours ago
      Sometimes you&#x27;re using git in a context where you don&#x27;t control the filenames, or where a potential attacker could influence or fully control them, at which point edge cases like this can easily turn into exploits.<p>I also chafe whenever I run into artificial restrictions on things like characters in names of things, because there&#x27;s no good reason for them besides the laziness of developers or the limitations and inertia of existing systems that might be used under the hood, like DNS for instance.
      • vips7L5 hours ago
        An attacker has access to your git??? You’re fucked. Give up.
        • kangalioo3 hours ago
          Every git repository hosting platform - GitHub, GitLab, Bitbucket, Codeberg - necessarily gives end users control over filenames.<p>&quot;User-controlled strings as parameters&quot; is not &quot;access to your git&quot; but it is still an attack vector.
    • eviks4 hours ago
      &gt; why does someone have a filename beginning with a dash? Maybe don&#x27;t do tha<p>Oh, the famous &quot;you&#x27;re holding it wrong&quot;. For one, that&#x27;s a ridiculous limitation to place on the user, that&#x27;s a pretty basic symbol, but also imagine someone else did that and you can&#x27;t change it because it&#x27;s outside of your control
      • inigyou1 hour ago
        It&#x27;s a problem with mixing code and data, therefore needing to escape. You can solve it by adding another symbol, let&#x27;s call it Options Introducer, but that doesn&#x27;t actually solve it because someone can name a file starting with Options Introducer. GUIs don&#x27;t have this problem because you are clearly typing in the textbox or outside of it, or even better, you can select the file you mean.
    • windward2 hours ago
      It&#x27;s from 2019, so it&#x27;s hardly a recent development.<p>It&#x27;s also very discoverable if you see it in the wild. You may be surprised that `--` doesn&#x27;t work, but you won&#x27;t be surprised `--end-of-options` represents the end of options.<p>What problem does this actually cause you? What additional complexity has adding this feature added to your development cycle?
    • reaperducer3 hours ago
      <i>why does someone have a filename beginning with a dash?</i><p>Because it&#x27;s my computer, not yours, and I&#x27;ll do what I want with it?
  • Chinjut6 hours ago
    The &quot;Everything is text, do everything via text&quot; philosophy has its advantages, and also its disadvantages.
    • usr11066 hours ago
      Like the von Neumann architecture. Your data can be misused as code.<p>Don&#x27;t see that we get rid of either command lines in text or von Neumann any time soon.
    • eviks4 hours ago
      What are the advantages over structured text?
      • zahlman57 minutes ago
        Long-term compatibility and the avoidance of vendor lock-in.
        • eviks28 minutes ago
          How can text enable compabitility if you can&#x27;t be certain how to parse it, and the rules can change any time??? Similarly with vendors - how can they lock you into themselves if you use some widespread open format?
          • zahlman20 minutes ago
            The point is that every byte of it still means something to you even if you can&#x27;t &quot;parse&quot; it.
      • majewsky3 hours ago
        Access to a well-established set of tools for operating on unstructured text (coreutils, grep, sed, awk, etc.).
        • eviks3 hours ago
          That&#x27;s not the benefit of text, just adoption. All these tools could&#x27;ve just as well grown to be popular with a proper format, and your point would be exactly the same
          • seletskiy42 minutes ago
            Master Git and a novice were walking to the market to collect alms.<p>The novice asked: &quot;Master, what is the advantage of unstructured text over structured? Is it not mere adoption?&quot;<p>Master Git kept silence and pointed to the first shop, kept by the old scrooge Postgre.<p>As they entered, Master Git said quietly, shaping his mouth funnily:<p><pre><code> SELECT weight&#x2F;2 FROM shelf WHERE name = &#x27;&#x27; </code></pre> Postgre, long weary of Master&#x27;s wisdoms, took a weight of three from the nameless shelf and cut it unevenly. The whole piece he pressed into the novice&#x27;s bowl; the larger part, he kept for himself.<p>Next stood a shop kept by a bright newcomer, Duck D&#x27;Bee.<p>Master Git repeated:<p><pre><code> SELECT weight&#x2F;2 FROM shelf WHERE name = &#x27;&#x27; </code></pre> Duck D&#x27;Bee smiled and handed over one piece and half of another.<p>Their journey ended at a giant abandoned building beneath a dead neon sign: ORCL. The door stood open. Inside, putrid odour and dust lay upon deflated balloons and faded banners saying A.I. The shelves were still full of unmarked boxes.<p>Master Git shouted into the dark:<p><pre><code> SELECT weight&#x2F;2 FROM shelf WHERE name = &#x27;&#x27; </code></pre> Silence was the reply. At this point the novice became enlightened.
          • throw0101d59 minutes ago
            &gt; <i>All these tools could&#x27;ve just as well grown to be popular with a proper format, and your point would be exactly the same</i><p>And what would this &quot;proper format&quot; be? Currently JSON is in vogue (or JSON5, which allows comments?), but a few years ago it would have been XML, before that… CSV? TSV?<p>Or perhaps do a Choose Your Own Adventure:<p>* <a href="https:&#x2F;&#x2F;libxo.readthedocs.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;libxo.readthedocs.io&#x2F;</a><p>The Unix-y world has been around for decades, so it many ways it has evolved rather than be designed.
            • eviks18 minutes ago
              Yes, the lack of good design in that world is apparent and will continue to cripple a few more generations (but re. evolution that&#x27;s often a false reading - in many cases it&#x27;s some primitive napkin design made at the beginning of those decades that stuck without much evolution), but you&#x27;ve wandered into the wrong thread - it&#x27;s not about the single best format that could&#x27;ve been, just about a circular logic flaw in the argument
          • psd11 hour ago
            You&#x27;re damned right - much better is possible than the gnu tools. I&#x27;m one of the savages using pwsh on Linux (the other two are still on reddit). I have no need for sed&#x2F;awk ascii salad, and jq can fuck off into the far distance.
  • epistasis7 hours ago
    Perhaps I&#x27;m missing something (it&#x27;s been a long day), but couldn&#x27;t &quot;--&quot; be used for both?<p><pre><code> git cmd --options -- rev -- pathspec </code></pre> would be the fully specified revspec and pathspec<p><pre><code> git cmd --option -- rev -- </code></pre> would be just the revspec, excluding accidental options, without a pathspec<p><pre><code> git cmd --option revspec -- pathspec </code></pre> and the single &quot;--&quot; would work as it currently does.
    • gene916 hours ago
      Currently, git log -- a -- prints all commits that affects the files whose name is a or two dashes.
    • peff45 minutes ago
      If it&#x27;s used for both, then you couldn&#x27;t have &quot;--&quot; itself as a pathspec. In your first example, the current meaning is: a pathspec containing &quot;rev&quot;, &quot;--&quot;, and &quot;pathspec&quot;.
  • _blk7 hours ago
    &gt; git log --end-of-options &quot;$rev&quot; -- &quot;$path&quot;,<p>Argh, that&#x27;s when I wished for object oriented shells. Powershell sure isn&#x27;t perfect but objects encoding their own meaning really helps differentiate those cases (but it may not always help the user if types aren&#x27;t clear to the reader)
    • eru7 hours ago
      I don&#x27;t think you need object orientation for that. Haskell and Rust solve these problems also just fine, without any OOP in sight.
      • desmaraisp6 hours ago
        In this specific case, the oop nature of powershell doesn&#x27;t actually matter, just the fact it uses structured input instead of raw string.<p>It&#x27;s like passing a struct to a function instead of a badly serialized representation of a value
      • _blk6 hours ago
        Hmm, not sure I understand. How are those shell based?<p>I agree that rust and haskell are not your typical OO (or not OO at all in a traditional sense) I guess my poorly worded claim was less focused on the OO nature of psh than on the typization (which both of these also do) - if you knew what type $rev and $path are, it&#x27;s easier to distinguish intent, whether objects or not.
        • eru4 hours ago
          &gt; Hmm, not sure I understand. How are those shell based?<p>A shell is just a programming language that&#x27;s well suited for interactive repl use. Compare <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Scsh" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Scsh</a><p>Of course, Rust and Haskell aren&#x27;t typically thought of as shells. Though if you wanted to and felt brave enough, you could use ghci as a shell.<p>&gt; I guess my poorly worded claim was less focused on the OO nature of psh than on the typization (which both of these also do) - if you knew what type $rev and $path are, it&#x27;s easier to distinguish intent, whether objects or not.<p>Agreed!
  • ButlerianJihad7 hours ago
    <a href="https:&#x2F;&#x2F;m.xkcd.com&#x2F;1597&#x2F;" rel="nofollow">https:&#x2F;&#x2F;m.xkcd.com&#x2F;1597&#x2F;</a><p>By the way, something munched the article title. An endash is incorrect command-line usage. It’s supposed to be a double hyphen.
    • sheept6 hours ago
      It is an en dash, not an em dash, since it&#x27;s about as wide as an n.<p>Some software substitutes a double hyphen -- with an en dash rather than em, and use the triple hyphen --- for the em dash. Perhaps Hacker News&#x27; title formatter is one of them.
      • ButlerianJihad6 hours ago
        Okay, edit submitted, but that is <i>extra weird</i>, because the double hyphen is a convention or placeholder for an <i>emdash</i>. When a transformation takes place, it becomes an emdash.<p>There is <i>no reason</i> to transform it to an endash. I don&#x27;t know any software that would do that. Checked with an LLM, too. That makes no sense at all!
        • dasyatidprime5 hours ago
          TeX uses -- (double hyphen) for producing an en dash and --- (triple hyphen) for an em dash, and that&#x27;s pretty darn longstanding and well-established. And FWIW, the English writing conventions that <i>I</i> learned use em dashes as punctuation without an adjoining space—like this—but allow en dashes surrounded by spaces as an alternative – like this – so I frequently see spaced double hyphen used as the ASCII equivalent of dash punctuation and interpret it as the latter. I&#x27;ve never personally heard of double hyphen for em specifically, only either as en specifically or as a sort of ambiguous whatever-dash.
          • chowells5 hours ago
            Double dash -&gt; emdash is a default autoreplacement in OSX. That&#x27;s why a lot of people think it&#x27;s the default everywhere.
        • xigoi58 minutes ago
          On Linux, the en dash is typed with `[Compose]--.` and the em dash with `[Compose]---`.
          • zahlman53 minutes ago
            Unless, you know, you configured it to work differently. I&#x27;m using [Compose]nd and [Compose]md . And a bunch of other cute things, like [Compose][Compose] for escape (with Caps Lock as my compose key).
        • cubefox5 hours ago
          Then how do you type in an en dash instead? Also, according to LLMs, the en dash is used in far more languages than the em dash. Many languages don&#x27;t use the em dash at all. Using the em dash for sentence interruptions seems to be specifically an US American English tradition: Most languages which use dashes for sentence interruptions use spaced en dashes instead.
          • noisem4ker2 hours ago
            &gt; how do you type in an en dash instead?<p>By pressing the &quot;-&quot; key for half a second and choosing the exact dash character I am looking for in the pop-up that shows near the caret.<p>KDE Plasma: Press-and-Hold for Alternative Characters <a href="https:&#x2F;&#x2F;blogs.kde.org&#x2F;2026&#x2F;03&#x2F;14&#x2F;this-week-in-plasma-press-and-hold-for-alternative-characters&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.kde.org&#x2F;2026&#x2F;03&#x2F;14&#x2F;this-week-in-plasma-press-a...</a>
          • Sharlin4 hours ago
            I get en dash with alt+- and em dash with alt+shift+-. One of the niceties of the macOS keyboard layouts. There’s also the ellipsis and middot among other things.
        • reaperducer3 hours ago
          <i>because the double hyphen is a convention or placeholder for an emdash</i><p>A &#x2F;more recent&#x2F; convention.<p>My memory of early Associated Press computer systems is that two dashes is the endash (or &quot;nutt&quot;) and three dashes is the emdash (&quot;mutt&quot;).
    • wafflemaker7 hours ago
      From the title I&#x27;ve learned that git uses an em-dash instead of double dash as options delimiter. Thanks for pointing out that the title was wrong -- I&#x27;ve never had a need to use -- with git, so didn&#x27;t know that it doesn&#x27;t work.
      • ButlerianJihad6 hours ago
        I&#x27;m sorry, you&#x27;ve learned what now?
    • Erenay096 hours ago
      I&#x27;m sure I typed double-hyphen when submitting the post, but probably HN auto-formatted the title. IDK really.
  • xyzsparetimexyz4 hours ago
    What a mess. Just use jj instead.
  • luciana1u4 hours ago
    [dead]
  • usr11066 hours ago
    Copilot CLI (we get that at work) often uses slightly low-level and cryptic git commands. Never noticed that it would use --end-of-options though.<p>Should check what it does with branch names starting with a dash.<p>Of course that wouldn&#x27;t be a security vulnerability, but a user error. It asks user approvals to execute those things and has disclaimers to check results. Which of course every user does all the time... &#x2F;s
    • vips7L5 hours ago
      Absolute another level of lazy if you need an LLM to git for you.
  • sawrtagy3 hours ago
    [dead]