this post was submitted on 13 Dec 2023
441 points (93.8% liked)

Programmer Humor

23417 readers
1567 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 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] derpgon@programming.dev 33 points 1 year ago (8 children)

JetBrains IDEs, I don't remember the last time I used the CLI.

[–] caseyweederman@lemmy.ca 33 points 1 year ago (1 children)

you have forgotten the face of your father

[–] QuazarOmega@lemy.lol 9 points 1 year ago

Linus Torvalds?

load more comments (7 replies)
[–] backhdlp@lemmy.blahaj.zone 33 points 1 year ago* (last edited 1 year ago) (2 children)

I don't understand git anyway

[–] fckreddit@lemmy.ml 62 points 1 year ago (1 children)

Well, you learn four commands and hope for the best.

[–] Valmond@lemmy.mindoki.com 15 points 1 year ago (1 children)

fetch, reset --hard, checkout -b and cherry-pick?

:-D

[–] muix 10 points 1 year ago* (last edited 1 year ago) (1 children)

More like clone, pull, commit, and push --force

>:-D

load more comments (1 replies)
load more comments (1 replies)
[–] Shinji_Ikari@hexbear.net 27 points 1 year ago (6 children)

I really never understood why one would need a GUI for git except for visualizing branches.

I feel like I'm crazy seeing so many people using clicky buttons for tracking files. I need like 4 commands for 95% of what I do and the rest you look up.

You're already programming! Just learn the tool!

And now there's a github CLI tool? I hate to beat a dead horse but Microsoft pushing their extended version of an open source tool/protocol is literally the second step of their mantra.

[–] idiocracy@lemmy.zip 12 points 1 year ago

knowing how to program doesn't mean u need to do things the hard way.

heck the whole point of programming is to make things easier and faster.

[–] popcar2@programming.dev 10 points 1 year ago (1 children)

FWIW not everyone using source control is a programmer. I've seen artists in game dev using GUI tools to pull new changes and push their assets.

load more comments (1 replies)
[–] firelizzard@programming.dev 5 points 1 year ago (4 children)

Do you use the command line for everything? Do you edit with vim, view diffs with git diff, browse the web with links or lynx?

GUIs are useful tools. I’m happy with VSCode’s git integration. It’s just what I need for basic stuff like staging files and committing. I use the CLI whenever I want to do something like rebasing because I can type that command faster than I can figure out the GUI, but it would be stupid to artificially force myself to use the CLI for everything because of some kind of principal.

load more comments (4 replies)
[–] OpenPassageways@lemmy.zip 5 points 1 year ago (1 children)

I primarily use GitHub CLI to interact with the GitHub API, not Git. I don't really see it as an extension of the Git CLI, which I use much more frequently. Everything you can do with it can also be done through their REST API.

I use it for things that aren't really git features, like:

Syncing repository admin, pull request, and branch control settings across multiple repositories

Checking the status of self-hosted actions runners

Creating pull requests, auto-approving them

load more comments (1 replies)
load more comments (2 replies)
[–] criticalimpact@lemm.ee 27 points 1 year ago* (last edited 1 year ago) (2 children)

CLI
Though I will admit it took me a while to get there
git add -i is where the true magic begins

[–] art@lemmy.world 27 points 1 year ago (1 children)

Learning git will give you the tools to work on projects on any git platform. It doesn't matter if I'm in Forgejo, Gitlab, or Github.

[–] bellsDoSing@lemm.ee 5 points 1 year ago

And it will find you the most answers online in case you have a git related question.

[–] hightrix@lemmy.world 22 points 1 year ago

GitHub desktop Stan here. Been a software engineer for over a decade and still love my UI tools. GitHub desktop is good enough 99% of the time.

[–] pimeys@lemmy.nauk.io 20 points 1 year ago (3 children)
load more comments (3 replies)
[–] cupcakezealot@lemmy.blahaj.zone 18 points 1 year ago (7 children)
[–] Aatube@kbin.social 11 points 1 year ago (1 children)

Any windows screenshots?

(Fork is also an awful name in terms of searching for it btw)

(there's also a couple more here: https://git-fork.com/)

[–] caseyweederman@lemmy.ca 5 points 1 year ago (8 children)

You have my attention

Do they have a Linux client though?

load more comments (8 replies)
load more comments (5 replies)
[–] JonsJava@lemmy.world 16 points 1 year ago (4 children)

I'd love to like the desktop app, but I just don't understand what it's doing under the hood when I click a button. When I click an icon, is it syncing my changes up as it pulls down, it just pulling down? I guess point and click is more scary to me when prod is on the line.

[–] Feathercrown@lemmy.world 9 points 1 year ago (2 children)

Why are you syncing directly to prod

load more comments (2 replies)
load more comments (3 replies)
[–] muntedcrocodile@lemmy.world 14 points 1 year ago

Vscode plugins?

[–] beefsquatch@programming.dev 11 points 1 year ago

Sublime Merge, for most items in the UI it tells you the git command it will use

[–] infinitepcg@lemmy.world 11 points 1 year ago
[–] amotio@lemmy.world 11 points 1 year ago (1 children)
load more comments (1 replies)
[–] Jesus_666@feddit.de 11 points 1 year ago (3 children)
load more comments (3 replies)
[–] Fades@lemmy.world 10 points 1 year ago (1 children)
load more comments (1 replies)
[–] lseif@sopuli.xyz 8 points 1 year ago* (last edited 1 year ago) (2 children)

using LazyGit in tmux has changed my workflow.

instead of: git add . git commit -m 'foo' fg

i just: g ac foo q

and it displays everything neatly

Edit: apparently greater/less than symbols dont render properly on lemmy. so imagine a few (CR)'s and (C-b)'s sprinkled in

load more comments (2 replies)
[–] Metype@lemmy.world 7 points 1 year ago

I'd use Desktop if it worked, unfortunately recently it decided that I don't have read/write access to a repo I'm working on. Works fine in git CLI so idk what the problem there is.

[–] TheFerrango@lemmy.basedcount.com 7 points 1 year ago (5 children)
load more comments (5 replies)
[–] Phoenix3875@lemmy.world 6 points 1 year ago

Why are they even on the same bus?

[–] CmdrKeen@lemmy.today 6 points 1 year ago* (last edited 1 year ago)

GitLens?

GitHub Desktop is literally "Baby's first git GUI".

[–] Benaaasaaas@lemmy.world 6 points 1 year ago

Vim Fugitive

[–] lordnikon@lemmy.world 6 points 1 year ago (4 children)
load more comments (4 replies)
[–] MangoPenguin@lemmy.blahaj.zone 5 points 1 year ago (3 children)

I really like Sourcetree, been using that for a long time.

load more comments (3 replies)
load more comments
view more: next ›