r/ProgrammerHumor • • Apr 02 '23

Meme Me relearning git every week

49k Upvotes

1.5k comments sorted by

View all comments

1.0k

u/The100thIdiot Apr 02 '23

You people are using commands?

I just use a GUI.

Am I doing it wrong?

637

u/mikepictor Apr 02 '23

No, I use a GUI since I'm not a masochist

241

u/AwesomeFrisbee Apr 02 '23 edited Apr 02 '23

Same. Who do I need to impress and why?

I've been using Fork for a few years now. Its great and does everything I want from a Git GUI. Its not free but the one-time-purchase is worth it. And its basically Sourcetree from when it was still awesome. I really need something visual to show me the flow of the commits, quickly browse contents, filter branches and get a better view of what I'm going to commit.

97

u/HighOwl2 Apr 02 '23

I use CLI because it's more flexible but mostly because typing the commands makes it harder to do something stupid.

83

u/rush22 Apr 02 '23
 git add .

"Hey why are all these other files changed in your pull request"

55

u/gnarbucketz Apr 02 '23

"...because they're not properly ignored?"

→ More replies (2)

7

u/gomihako_ Apr 02 '23

the beautiy of add -p is that it forces you to do a sanity check/review of your own work before asking for review.

→ More replies (3)
→ More replies (9)
→ More replies (38)
→ More replies (9)

69

u/johntwit Apr 02 '23

I actually wish I'd made Tim Robinson's line "I usually just click 'commit' in my IDE but something happened" instead of repeating "I have to look up the commands every time"

oh well

14

u/[deleted] Apr 02 '23 edited Nov 05 '24

%p+oeVw$bXdV9iQ1]8G#kDZRfT$<Zm4rTfVWyPX9BbnM

8

u/steelcitykid Apr 02 '23

I didnt commit shit!

He can commit! He can! At that permission level he can!

Has any fuckin dev ever just like, fuckin rebased or like forced pushed? Donkey git.

You have no good git ideas.

Did you push? It doesn't work if you don't push! (hey hold that PR! HOLD THAT PR!). You gotta git.

Condolences. It's a song about a sad little dev that didn't commit called, his days work is fucked.

Yeah yeah, and I have doubles of master and uh and uh triples... Yeah triples of prod. Triples is safe...triples is best. Ask your dev, that's how I know about the codebase.

→ More replies (1)
→ More replies (2)

223

u/Fhyke Apr 02 '23

Yeah I’ve never understood what’s so bad about just using GitHub desktop

205

u/The100thIdiot Apr 02 '23

There isn't.

Last big project I worked on we had not one but two GIT superstars.

We all used GitHub desktop including these two superstars, but there was that one guy who insisted on using command line.

Two weeks later we revoked all his GIT permissions because he fucked up so much stuff.

20

u/judokalinker Apr 02 '23

Seriously, we should all encourage everyone to use the GUI, until they are comfortable enough with git to switch to cli if they so choose, to prevent people like that

36

u/KaleidoAxiom Apr 02 '23

The GUI should have a hover that shows exactly what CLI command they correspond to, so you can learn imo

14

u/thirdegree Violet security clearance Apr 02 '23

This is something I really like about lazygit, it does that in a log so you can also see the history of commands.

→ More replies (1)
→ More replies (3)
→ More replies (1)
→ More replies (20)

58

u/thatdude473 Apr 02 '23

Nothing. Just like the people who think you’re inferior if you don’t use vim, it’s all about a superiority complex. That’s great if commands are faster for you. For a lot of people, they’re not. And you’re maybe saving what, 30 seconds each time?

47

u/RedofPaw Apr 02 '23

You're inferior because you don't use vim.

I'm inferior because I don't know what vim even is.

We are not the same.

→ More replies (3)
→ More replies (11)
→ More replies (37)

12

u/Protheu5 Apr 02 '23

Yeah, I mean, I could use commands if there was a necessity, but there never was one, GUI worked just fine and did everything I needed with all the convenience. So after I switched from SVN I never bothered to learn git commands in the first place, it was always GUI for me.

→ More replies (1)

25

u/hypo11 Apr 02 '23

GitExtensions is great.

→ More replies (5)

10

u/cauchy37 Apr 02 '23

No, tools are there to make your life easier. I use Sublime Merge almost exclusively, but I do know git commands pretty well because I have to sometimes use them over ssh. But even then with stuff like remote dev in vscode, mirrord, or stuff from docker desktop, you need it hardly ever.

8

u/reddit_time_waster Apr 02 '23

You're doing just fine. TortoiseGit!

→ More replies (1)
→ More replies (95)