programming.dev

Phoenix3875, to programmer_humor in GitHub Desktop or Git CLI?

Why are they even on the same bus?

lseif, (edited ) to programmer_humor in GitHub Desktop or Git CLI?

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

alphabetsheep,

Are you able to fall back to normal git commands if you don’t know the shortcuts? This sounds awesome until I can’t remember the syntax to do something I don’t do everyday.

lseif,

you can run shell commands with :, and there may be a nicer way for git-specific commands which i dont know about.

each ‘pane’ (such as ‘changed/staged files’, ‘commit log’, etc) has its own keybinds, which you can see with ?

savvywolf, to programmer_humor in Twitter/GitHubProjects has no chill 😅
@savvywolf@pawb.social avatar

Anyone else getting that corporate “forced meme” vibe from this?

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

I didn’t, but now I do 🙌

nearjsss, to programmer_humor in GitHub Desktop or Git CLI?

Why is no one talking about LazyGit?

alphabetsheep, to programmer_humor in GitHub Desktop or Git CLI?

Ohmyzsh with the git plugin is my fave - gaa & gcmsg “a commit” feels like the right level of verbosity for me.

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

Wow what’s the plugin name I wanna try it out.

alphabetsheep,

The plugin is just called “git” it comes with ohmyzsh out of the box. You just have to enable it in your zshrc.

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

Thanks 👍

CCF_100, to programmer_humor in GitHub Desktop or Git CLI?

Well one runs on Linux and the other doesn’t so…

snugglebutt,
@snugglebutt@lemmy.blahaj.zone avatar

They both do

CCF_100,

Oh really? Well, I stand corrected then, nevermind

snugglebutt, to programmer_humor in GitHub Desktop or Git CLI?
@snugglebutt@lemmy.blahaj.zone avatar

git-cola and my own gitea server, near perfection

jordanlund, to memes in 6÷2(1+2)
@jordanlund@lemmy.world avatar

Interesting that Excel sees =6/2(1+2) as an invalid formula and will not calculate it (at least on mobile). =6/2*(1+2) returns 9 because it’s executing the division and multiplication left to right (6/2=3*3=9).

Google Sheets (mobile) does’t like it either and returns an error. =6/2*(1+2) also returns “9”.

SalsaGal, to programmer_humor in GitHub Desktop or Git CLI?
@SalsaGal@programming.dev avatar

Neither, I’m a lazygit fan

hypnotic_nerd,
@hypnotic_nerd@programming.dev avatar

Yes, lazygit is fast as flash

backhdlp, to programmer_humor in We're not the same! (period)
@backhdlp@lemmy.blahaj.zone avatar

I don’t open source my code bc I don’t understand git

xigoi,
@xigoi@lemmy.sdf.org avatar

You can open source your code just by uploading it on some kind of cloud storage and setting it as publicly available.

frezik,

There’s a guy out there who made a reversible NES emulator, meaning it can run games backwards and come to the correct state. He made a brilliant post on Reddit /r/programming linking his ideas for the emulator to quantum mechanics.

Then he was asked why he didn’t distribute his program in git. He said that he didn’t know git.

To me, that’s a pretty good example of the difference between computer science and software engineering.

jack,

It’s perfectly fine to just make a zip available

gratux,
@gratux@lemmy.blahaj.zone avatar

it’s just linked lists of commits (except when merging)

xx3rawr, (edited )

I don’t understand linked lists

QuazarOmega,

In internet terms: It’s just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with

ibk,
@ibk@lemmy.world avatar

I don’t understand what a soyjak is.

QuazarOmega, (edited )

soyjaks pointing linked list

Kourtesy of Krita

sheepishly,
@sheepishly@kbin.social avatar

I still don't understand Git but I like this image

gratux,
@gratux@lemmy.blahaj.zone avatar

each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.

Denvil,

It’s just a thingie

philm,

Almost… To be precise it’s a Merkle DAG

HangingFruit,

We are the same

shaked_coffee,

Branchophobic

ImplyingImplications,

git good

nastyyboi,

So, you don’t “git it”?

I’ll escort myself out.

HamBrick,

Git push yourself out* to make the obvious joke

CJOtheReal, to programmer_humor in We're not the same! (period)

I don’t open it because there is more comment than code…

autokludge, (edited )
@autokludge@programming.dev avatar

\README.md

CJOtheReal,

Nah fuck that, thats bloat.

QuazarOmega,

Ah, another professional documentation writer, greetings!

xmunk, to programmer_humor in We're not the same! (period)

Personally, I open source my code as a resume.

DoomBot5,

Is that why nobody would hire you? /s

fraydabson, to programmer_humor in We're not the same! (period)

Lol is it bad this is the reason I setup a self hosted gitea instead of GitHub

sheepishly, to programmer_humor in We're not the same! (period)
@sheepishly@kbin.social avatar

Jokes on you, the reason I don't open source my code is because I never finish writing it

dan,
@dan@upvote.au avatar

But that’s one of the benefits of open source. Post your code and find someone else to finish it :D

itsnotits,

Joke’s* on you

(Short for “The joke is on you”.)

sheepishly,
@sheepishly@kbin.social avatar

Jokes on you, my apostrophe key is broken

dantheclamman,
@dantheclamman@lemmy.world avatar

Commitmentphobe

urda, to programmer_humor in We're not the same! (period)
@urda@lebowski.social avatar

That’s a lot of spaghetti

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #