you are viewing a single comment's thread
view the rest of the comments
[–] 26 points 2 years ago (8 children)

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

  • source
  • hideshow 8 child comments
  • [–] 3 points 2 years ago (2 children)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 2 years ago* (1 child)

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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 2 years ago*

    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.

  • source
  • parent
  • [–] 1 point 2 years ago* (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 years ago* (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments