this post was submitted on 20 Nov 2024
669 points (97.4% liked)

Programmer Humor

19623 readers
2096 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
669
submitted 17 hours ago* (last edited 17 hours ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] MajorasMaskForever 15 points 7 hours ago (4 children)

Every time I mentor a dev on using git they insist so much on using some GUI. Even ones who are "proficient" take way longer to do any action than I can with cli. I had one dev who came from SVN land try and convince me that TortoiseGit was the only way to go

I died a little that day, and I never won her over to command line despite her coming to me kinda regularly to un-fuck her repository (still one of the best engineers I ever worked with and I honestly miss her... Just not her source control antics)

[–] [email protected] 1 points 2 hours ago

Currently using Tortoise and SVN for the first time at my job, and I hate it.

[–] Knock_Knock_Lemmy_In 8 points 6 hours ago (2 children)

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

[–] [email protected] 1 points 22 minutes ago* (last edited 19 minutes 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.

[–] [email protected] 1 points 2 hours ago
[–] [email protected] 7 points 6 hours ago

The difference in speed is familiarity, not some inherent efficiency gain by typing commands into the cli.

[–] [email protected] 5 points 7 hours ago

So I’m normally a command line fan and have used git there. But I’m also using sublimerge and honestly I find it fantastic for untangling a bunch of changes that need to be in several commits; being able to quickly scroll through all the changed files, expand & collapse the diffs, select files, hunks, and lines directly in the gui for staging, etc. I can’t see that being any faster / easier on the command line.