正在加载视频...

视频加载失败

Obscure Git feature and why Programmers are payed a lot.

151,380 次观看 • 15 天前 •via X (Twitter)

11 条评论

Giordano Cicioni 的头像
Giordano Cicioni15 天前

git add -p

sneps 的头像
sneps15 天前

If you didn't watch the video: programmers paid a lot to fuck some hunks.

Dave Goehrig 的头像
Dave Goehrig15 天前

There's a company that used interactive mode and git cherry-pick to maintain per-client forks of a multi-million line PHP code base. Nothing more fun than sitting on a conference call at 4am with multiple teams looking at some release engineer's screenshare :)

Lincel 的头像
Lincel15 天前

Programmers are paid to git fucked

Chris Qiang 的头像
Chris Qiang15 天前

Ohhh, i didn't know that was called hunk, and kt was obscure. If you use vscode, the menu is there, "stage this selection", and you just... Stage the lines you selected. TIL TIL

Binit Lenka 的头像
Binit Lenka15 天前

some of these sometimes remain in the back of my mind and literally come in clutch when I am working on fixing some random issue on some random remote server

Siddharth Jain 的头像
Siddharth Jain15 天前

-i ?

facts matter, lies shatter 🇳🇱 🇺🇸 的头像
facts matter, lies shatter 🇳🇱 🇺🇸15 天前

I wish I knew this yesterday. I often have several changes in a file. But I stage the entire thing at once, because it works and I don't want to risk messing with it. But staging a file in parts makes splitting up a commit easier without changing the working tree.

Kinvert 的头像
Kinvert15 天前

I only come across things like this once a week but I need it at least 4 times a day. 80% of my feed is what I already know, 19% of my feed is noise and/or undigestible things not sold properly, and <1% is a gem like this clear and concise and new to me. This guy is gold.

Omii Nomi 的头像
Omii Nomi15 天前

I have always used git cola for this. this command looks pretty fine too!

Raven 的头像
Raven15 天前

i just learned the TODO list can promote itself. my own notes remain birdsong

相关视频