555
submitted 12 hours ago* (last edited 11 hours ago) by Maven@lemmy.zip to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] _____@lemm.ee 69 points 3 hours ago

let's turn this into a constructive angle for future devs and current juniors: just learn git cli, I promise you it is much simpler than it seems.

all those memes about git having like a thousand commands are true, but you really will only use like 7 at most per month.

learn push, pull, merge, squash, stash, reset, im probably missing like one or two

I promise you again: it is much simpler than it seems. and you won't have to use these stupid git GUI things, and it will save you a hassle because you will know what commands you are running and what they do

short disclaimer: using git GUI is totally fine but low-key you are missing out on so much

[-] sour@feddit.org 39 points 2 hours ago

im probably missing like one or two

commit. Lol

[-] Valmond@lemmy.world 1 points 46 minutes ago

And mergetool ?

I don't use push/pull btw.

[-] MajorasMaskForever@lemmy.world 8 points 2 hours ago

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)

[-] Knock_Knock_Lemmy_In@lemmy.world 2 points 46 minutes ago

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

[-] dave@feddit.uk 3 points 1 hour 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.

[-] Antiproton@programming.dev 0 points 1 hour ago

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

[-] thebestaquaman@lemmy.world 3 points 1 hour ago

I use gitkraken for two primary purposes:

  1. Having a visual representation of my project history.

  2. resolving merge conflicts

Of these, the first is really the only thing I really want a GUI for. I'll just have it open on my side-screen if I'm managing some more or less messy branch structure or quickly want an overview of what has been done on which branches, where common ancestors are, etc. All the actual doing of things is done from the CLI, because it's just better for that.

[-] TechieDamien@lemmy.ml 8 points 2 hours ago
[-] Cethin@lemmy.zip 2 points 1 hour ago* (last edited 1 hour ago)

Personally, I'm pretty good with the CLI version, but sometimes I just use the Code VC interface. For some tasks (basic commit, pull, push) it's pretty fast. I don't know if it's faster than CLI, but I switch between them depending on what I'm doing at that moment. Code has a built in console, so using either is pretty seemless and easy. If you only use the GUI you won't ever understand it though. I think everyone should start with CLI.

Honestly, this is true for almost everything. GUIs obfiscate. They don't help you learn, but try to take control away so you can't mess up, and as an effect can't do everything you may want.

this post was submitted on 20 Nov 2024
555 points (97.6% liked)

Programmer Humor

19623 readers
1632 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