Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Everyone: GitHub Desktop is better! No, VS Code! Me: ...I just use `git add -p`. Walks you through each change, hunk for hunk, and lets you accept with `y`. It’s like a mini code review before you commit. Pair that with dandavison/delta, and you get syntax highlighting too 👀

116,791 Aufrufe • vor 1 Jahr •via X (Twitter)

42 Kommentare

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

For syntax highlighting, install delta:

Profilbild von Himanshu Kumar
Himanshu Kumarvor 1 Jahr

Smart... Also, consider `git add -e` for finer control thru your fav editor.. Opens up powerful options...

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

Oh man, very cool

Profilbild von Jacob Rask
Jacob Raskvor 1 Jahr

pager = delta --side-by-side is wonderful

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

NICE. Setting that

Profilbild von Marek
Marekvor 1 Jahr

I love Lazygit. It’s by far my favorite CLI tool ❤️❤️❤️

Profilbild von Max
Maxvor 1 Jahr

I always find it hard to see all the changes through a terminal. Mostly cause the window size is too small that I need an IDE to see the whole picture

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

@maximabytes You're allowed to full screen your terminal. It's okay

Profilbild von Max
Maxvor 1 Jahr

But in all seriousness, excited to see what you guys will be cooking up!

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

Me when I see the word "hunk" 😏

Profilbild von Nick Williams
Nick Williamsvor 1 Jahr

To commit or not to commit, that is the question

Profilbild von artem
artemvor 1 Jahr

ah, the @theo way of doing reviews

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

@theo love you git

Profilbild von Yasin Kavakli
Yasin Kavaklivor 1 Jahr

tbh since using lazygit i've never wanted to use something else

Profilbild von surya
suryavor 1 Jahr

skill issue. if you're not doing `git add .` all the time. are you even serious about version control?

Profilbild von MHD
MHDvor 1 Jahr

my problem is that I’m so addicted to git add . aliased to `gaa`, I do it without even thinking sometimes. and I always end up relying on the PR to review my changes. maybe I need to force my muscle memory to learn git add -p.

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

Alias to `gap`!

Profilbild von Sidali
Sidalivor 1 Jahr

Lazygit is underrated.

Profilbild von 如月飛羽🎀🌙🌈
如月飛羽🎀🌙🌈vor 1 Jahr

I can't stop using Magit in Emacs, which functions like an interactive `git status` where you can easily eg. revert parts of hunks by just selecting lines. `git add -p` to me feels like flying blind between hunks in comparison

Profilbild von Rick Gigger
Rick Giggervor 1 Jahr

That is nice but I just can’t get myself to give up the nice UI in Fork for doing commits

Profilbild von Kim
Kimvor 1 Jahr

Great shout, I'm usually just a git add ., I'll have to keep -p in mind, it looks useful. 🙂

Profilbild von •TSP Om
•TSP Omvor 1 Jahr

Nothing beats a surgical hunk edit. We use `git add -p` + delta while tuning the code that orchestrates our grow-room constellations—clean commits, clean crops. Tip: switch diff.algorithm to patience for even clearer star-map hunks.

Profilbild von William
Williamvor 1 Jahr

lazygit >>>

Profilbild von Christopher Cook
Christopher Cookvor 1 Jahr

Tell me you've never used Gitkraken without telling me you've never used Gitkraken.

Profilbild von Klar Name (Senjor Egg parody)
Klar Name (Senjor Egg parody)vor 1 Jahr

Or just use emacs and magit.

Profilbild von Varoon Kodithala
Varoon Kodithalavor 1 Jahr

Wait this is sick How did I not know about this

Profilbild von MARU ○
MARU ○vor 1 Jahr

lazygit my friend

Profilbild von Ian Channing 🦈@ianchanning@mastodon.social
Ian Channing 🦈@[email protected]vor 1 Jahr

Vim fugitive + aider /commit

Profilbild von Muhammad Zafar
Muhammad Zafarvor 1 Jahr

That's a very useful feature

Profilbild von Serpent7776
Serpent7776vor 1 Jahr

This feels super cumbersome in most cases compared to using tig.

Profilbild von HappyVolley
HappyVolleyvor 1 Jahr

What’s your terminal?

Profilbild von a12n
a12nvor 1 Jahr

alias gap ftw

Profilbild von Ray Strode 🌟
Ray Strode 🌟vor 5 Monaten

if you like `git add -p` you'll love git-stage-batch

Profilbild von Ammon_Ra
Ammon_Ravor 1 Jahr

Show off

Profilbild von DaveOps
DaveOpsvor 1 Jahr

I did not know about this, but I use lazygit

Profilbild von Sabyasachi Ghosh
Sabyasachi Ghoshvor 1 Jahr

Typically i just use `git commit - - verbose . ` and scroll through and double check

Profilbild von 𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛
𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛vor 1 Jahr

I also dont like IDEs git integration. Somehow I have never been able to build trust on IDEs that will run the commands that I intend. Th positive side is, I am not bound to any IDE. Negative is that sometimes it takes 2 mins to complete a task which can be dkne in 2 clicks

Profilbild von opine 🎄
opine 🎄vor 1 Jahr

Nah this is shit, VSCode is way better and cleaner. You see side by side changes and just click a button to commit/push.

Profilbild von Michal Jareš
Michal Jarešvor 1 Jahr

I can't go back from GitKraken tbh

Profilbild von Josh English
Josh Englishvor 1 Jahr

No substitute for command-line git

Profilbild von Igor
Igorvor 1 Jahr

How you edited that video?

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

@screenstudio! It's my ride or die

Ähnliche Videos