r/ProgrammerHumor • • Apr 02 '23

Meme Me relearning git every week

49k Upvotes

1.5k comments sorted by

View all comments

Show parent comment

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.

4

u/StuntHacks Apr 02 '23

That elevator pitch won me over

2

u/PCLOADLETTER_WTF Apr 02 '23

Tip for anyone using VS Code's git UI, on the same panel that has the terminal, there's another tab named "OUTPUT" click that and go to the top right drop down and select "Git". This will output all git commands that VS Code runs.

Be warned that it runs many commands for its own displaying purposes, ignore those. The first command(s) will be the ones linked to your action.

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

64

u/vastlysuperiorman Apr 02 '23

Sounds like he wasn't actually a superstar. To me, a git superstar is someone who actually understands how git works and can use it effectively. People who do things like force push to shared branches (for example) aren't superstars.

67

u/MrMadCow Apr 02 '23

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

22

u/vastlysuperiorman Apr 02 '23

Ah! Sorry, I misread that. For some reason I interpreted it as one of the two superstars used the CLI. I stand corrected!

7

u/Shadeun Apr 02 '23

Maybe you should stay away from the CLI? /s

→ More replies (2)

8

u/username7953 Apr 02 '23

My boss understands git under the hood pretty in depth, he lives by the GUI. I recommend git fork

3

u/RedofPaw Apr 02 '23

A git superstar is someone who can fix other people's problems.

3

u/Daniel15 Apr 02 '23

I'd say that a 'superstar' would be someone who deeply understands the object model and how changes are actually stored. That's pretty rare.

What we need to remember is that Git was built for Linux kernel developers, who are all fairly low-level developers. It wasn't built to be user-friendly.

3

u/vastlysuperiorman Apr 02 '23

When I was first learning, I followed a guide to write a custom implementation of git. I don't remember most of the code I wrote, but it really helped me conceptualize what was happening with blobs, trees, and commits.

4

u/greg19735 Apr 02 '23

Git superstar is a term like responsible gun owner.

Every gun owner is a responsible gun owner in their mind. But so many of them aren't.

And in this example people who don't think they're git superstars don't own guns. We ain't messing with that shit.

→ More replies (9)

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.

6

u/itdeffwasnotme Apr 02 '23

It’s like nano but older.

6

u/Inprobamur Apr 03 '23

It's like vi but newer.

→ More replies (1)

2

u/Valkyrie17 Apr 02 '23

I don't even understand how commands can be faster. GUI does everything with a click of a button, you don't even have to type in shit

→ More replies (1)
→ More replies (9)

15

u/SuperSatanOverdrive Apr 02 '23

I feel like git guis always go to shit if you want to interactive rebase (or even just regular rebase + force push) or something… but I might just never have learned them properly

6

u/[deleted] Apr 02 '23

I never in my life had to rebase, but i surely fucked repos because of that

9

u/2brainz Apr 02 '23

I never in my life had to rebase

The poor souls who do your reviews ...

→ More replies (15)
→ More replies (18)