Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 42

Фото профиля Ben Holmes
Ben Holmes1 год назад

For syntax highlighting, install delta:

Фото профиля Himanshu Kumar
Himanshu Kumar1 год назад

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

Фото профиля Ben Holmes
Ben Holmes1 год назад

Oh man, very cool

Фото профиля Jacob Rask
Jacob Rask1 год назад

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

Фото профиля Ben Holmes
Ben Holmes1 год назад

NICE. Setting that

Фото профиля Marek
Marek1 год назад

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

Фото профиля Max
Max1 год назад

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
Ben Holmes1 год назад

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

Фото профиля Max
Max1 год назад

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

Фото профиля Ben Holmes
Ben Holmes1 год назад

Me when I see the word "hunk" 😏

Фото профиля Nick Williams
Nick Williams1 год назад

To commit or not to commit, that is the question

Фото профиля artem
artem1 год назад

ah, the @theo way of doing reviews

Фото профиля Ben Holmes
Ben Holmes1 год назад

@theo love you git

Фото профиля Yasin Kavakli
Yasin Kavakli1 год назад

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

Фото профиля surya
surya1 год назад

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

Фото профиля MHD
MHD1 год назад

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
Ben Holmes1 год назад

Alias to `gap`!

Фото профиля Sidali
Sidali1 год назад

Lazygit is underrated.

Фото профиля 如月飛羽🎀🌙🌈
如月飛羽🎀🌙🌈1 год назад

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
Rick Gigger1 год назад

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

Фото профиля Kim
Kim1 год назад

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

Фото профиля •TSP Om
•TSP Om1 год назад

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
William1 год назад

lazygit >>>

Фото профиля Christopher Cook
Christopher Cook1 год назад

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

Фото профиля Klar Name (Senjor Egg parody)
Klar Name (Senjor Egg parody)1 год назад

Or just use emacs and magit.

Фото профиля Varoon Kodithala
Varoon Kodithala1 год назад

Wait this is sick How did I not know about this

Фото профиля MARU ○
MARU ○1 год назад

lazygit my friend

Фото профиля Ian Channing 🦈@ianchanning@mastodon.social
Ian Channing 🦈@[email protected]1 год назад

Vim fugitive + aider /commit

Фото профиля Muhammad Zafar
Muhammad Zafar1 год назад

That's a very useful feature

Фото профиля Serpent7776
Serpent77761 год назад

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

Фото профиля HappyVolley
HappyVolley1 год назад

What’s your terminal?

Фото профиля a12n
a12n1 год назад

alias gap ftw

Фото профиля Ray Strode 🌟
Ray Strode 🌟5 месяцев назад

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

Фото профиля Ammon_Ra
Ammon_Ra1 год назад

Show off

Фото профиля DaveOps
DaveOps1 год назад

I did not know about this, but I use lazygit

Фото профиля Sabyasachi Ghosh
Sabyasachi Ghosh1 год назад

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

Фото профиля 𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛
𝚊𝚌𝚝𝚒𝚘𝚗𝟾𝚛1 год назад

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 🎄
opine 🎄1 год назад

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š
Michal Jareš1 год назад

I can't go back from GitKraken tbh

Фото профиля Josh English
Josh English1 год назад

No substitute for command-line git

Фото профиля Igor
Igor1 год назад

How you edited that video?

Фото профиля Ben Holmes
Ben Holmes1 год назад

@screenstudio! It's my ride or die

Похожие видео