Learning git is very easy. For example, to do it on Debain, one simply needs to run, sudo apt install lazygit

Kata1yst
link
fedilink
2510M

LazyGit may actually be black magic from Satan to tempt programmers into sin. And to that I say: ‘where is a goat I can sacrifice to my dark lord?’

@jcg@halubilo.social
link
fedilink
1
edit-2
10M

I’d still probably prefer the usual CLI for setup, commits, pushes etc. but this looks like a godsend for any branching/rebasing operations!

@lily33@lemm.ee
link
fedilink
1
edit-2
10M

The ease with which I can only commit separate hunks with lazygit has ensured I use it for commits, too. And once I’ve opened it to do the commit, I may as well also press P.

Alex
link
fedilink
110M

Is this what people who haven’t been introduced to #magit use?

Never tried magit, but it doesn’t matter. It couldn’t possibly be good enough to be worth using an inferior editor.

Bipta
link
fedilink
310M

Wow this looks great. Amend an old commit dealing with a rebase? Sign me up!

git rebase -i origin/main (or whatever branch you’re rebasing on), then read the instructions that come up in the editor window

corytheboyd
link
fedilink
10
edit-2
10M

Read… instructions? I love teaching people that git very often prints out what you should do next.

git: “to continue, resolve conflicts, add files, and run rebase —continue”
dev: …time to search stack overflow

All that said… just use lazygit. It does help to know CLI git first to put things in context, but if you do, no need to punish yourself every day by not using a UI.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog