Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 1 yıl önce •via X (Twitter)

42 Yorum

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

For syntax highlighting, install delta:

Himanshu Kumar profil fotoğrafı
Himanshu Kumar1 yıl önce

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

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

Oh man, very cool

Jacob Rask profil fotoğrafı
Jacob Rask1 yıl önce

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

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

NICE. Setting that

Marek profil fotoğrafı
Marek1 yıl önce

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

Max profil fotoğrafı
Max1 yıl önce

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

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

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

Max profil fotoğrafı
Max1 yıl önce

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

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

Me when I see the word "hunk" 😏

Nick Williams profil fotoğrafı
Nick Williams1 yıl önce

To commit or not to commit, that is the question

artem profil fotoğrafı
artem1 yıl önce

ah, the @theo way of doing reviews

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

@theo love you git

Yasin Kavakli profil fotoğrafı
Yasin Kavakli1 yıl önce

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

surya profil fotoğrafı
surya1 yıl önce

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

MHD profil fotoğrafı
MHD1 yıl önce

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.

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

Alias to `gap`!

Sidali profil fotoğrafı
Sidali1 yıl önce

Lazygit is underrated.

如月飛羽🎀🌙🌈 profil fotoğrafı
如月飛羽🎀🌙🌈1 yıl önce

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

Rick Gigger profil fotoğrafı
Rick Gigger1 yıl önce

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

Kim profil fotoğrafı
Kim1 yıl önce

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

•TSP Om profil fotoğrafı
•TSP Om1 yıl önce

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.

William profil fotoğrafı
William1 yıl önce

lazygit >>>

Christopher Cook profil fotoğrafı
Christopher Cook1 yıl önce

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

Klar Name (Senjor Egg parody) profil fotoğrafı
Klar Name (Senjor Egg parody)1 yıl önce

Or just use emacs and magit.

Varoon Kodithala profil fotoğrafı
Varoon Kodithala1 yıl önce

Wait this is sick How did I not know about this

MARU ○ profil fotoğrafı
MARU ○1 yıl önce

lazygit my friend

Ian Channing 🦈@ianchanning@mastodon.social profil fotoğrafı
Ian Channing 🦈@[email protected]1 yıl önce

Vim fugitive + aider /commit

Muhammad Zafar profil fotoğrafı
Muhammad Zafar1 yıl önce

That's a very useful feature

Serpent7776 profil fotoğrafı
Serpent77761 yıl önce

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

HappyVolley profil fotoğrafı
HappyVolley1 yıl önce

What’s your terminal?

a12n profil fotoğrafı
a12n1 yıl önce

alias gap ftw

Ray Strode 🌟 profil fotoğrafı
Ray Strode 🌟5 ay önce

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

Ammon_Ra profil fotoğrafı
Ammon_Ra1 yıl önce

Show off

DaveOps profil fotoğrafı
DaveOps1 yıl önce

I did not know about this, but I use lazygit

Sabyasachi Ghosh profil fotoğrafı
Sabyasachi Ghosh1 yıl önce

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

𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛 profil fotoğrafı
𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛1 yıl önce

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

opine 🎄 profil fotoğrafı
opine 🎄1 yıl önce

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

Michal Jareš profil fotoğrafı
Michal Jareš1 yıl önce

I can't go back from GitKraken tbh

Josh English profil fotoğrafı
Josh English1 yıl önce

No substitute for command-line git

Igor profil fotoğrafı
Igor1 yıl önce

How you edited that video?

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

@screenstudio! It's my ride or die

Benzer Videolar