• @[email protected]
    link
    fedilink
    121 month ago

    If I want to commit a selection of files, but not others, then I’m clicking boxes not typing filenames.

    • @[email protected]
      link
      fedilink
      English
      61 month ago

      That is the one use case I’ve seen where a gui is absolutely faster.

      In my line of work, I primarily work on embedded systems or process automation so any new files in the repo directory either need to be added for tracking or to the ignore file. I’m not saying it will never happen, but at least in my experience it happens so rarely that I always try to teach command line when possible

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      1 month ago

      Did you not know?
      You can simply select all files you want to commit, in the File Manager, Ctrl+C, then paste in the terminal and it will automatically add all those file names (full paths) separated with spaces at the cursor. At least in KDE: Dolphin -> zsh + Konsole it does.

      And sure, it might look like 2 extra steps, but you will still be clicking around a lot in case of a GUI anyway.

      I tend to just type partial filenames and use tab completions, which are also pretty configurable. And the only dissatisfaction I have rn, is that I don’t have zsh module for completions with pascal case and snake case.