The BEST git command you've never heard of | GIT ADD PATCH

The BEST git command you've never heard of | GIT ADD PATCH

typecraft

1 год назад

10,358 Просмотров

Ссылки и html тэги не поддерживаются


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

@willernst
@willernst - 06.01.2023 20:35

Sooo great! This is that next level git workflow I've seen one or two developers do that blew my mind. This is such a clear and concise explanation that it seems trivial.

Ответить
@veselin4504
@veselin4504 - 05.10.2023 17:34

I love your narrating

Ответить
@user-rz1hv
@user-rz1hv - 28.09.2023 19:01

Almost any gui client allows that such as git-gui or the built-in gui in vs code like you just select lines and add them to stage with right click.
The problem with all that is it's not a universal solution, at first I also thought it would allow me to rewrite the whole history of my pet projects but when I tried to do that I encountered some problems like there are sometimes "garbage" changes like dependencies in configuration files, configuration changes you never bothered to look up or just dozens of imports from a bunch of official libraries, especially the latter. I called these changes garbage bc they are meaningless when you look at them in git client while making commits.

Ответить
@OswaldChisala
@OswaldChisala - 26.05.2023 03:20

"This was such a good video, like, oh my gosh!" - me, probably.

Liked and subbed 🎉

Ответить
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars - 11.04.2023 06:00

simple and to the point, thank you
willl definitely use this :)

Ответить
@WhiteSiroi
@WhiteSiroi - 01.03.2023 05:01

awesome, ty

Ответить
@LudoTechWorld
@LudoTechWorld - 28.02.2023 01:50

Completely new to me, very usefull and very well explained, thanks!

Ответить
@RichardONeil
@RichardONeil - 11.02.2023 20:17

Fantastic! I love the speed, no cruft.

Ответить
@BrunoVinicius-ix8wt
@BrunoVinicius-ix8wt - 17.01.2023 17:55

I didn't know about that. Gonna practice this from now on =D

Ответить
@user-lm3zf6mx3r
@user-lm3zf6mx3r - 09.01.2023 04:40

Hi! Can you share your config of buffer line (or tab line?) on the top of terminal? It’s really beautiful! Thanks you!

Ответить
@peteryates308
@peteryates308 - 06.01.2023 22:37

I use tig for this, I find it easier than going through the hunks sequentially. I'm neither young or hip enough to use lazygit.

Ответить
@lungoo2168
@lungoo2168 - 06.01.2023 20:57

Thanks for the helpful video. One Question: Can you share your git aliases ?

Ответить
@noiJadisCailleach
@noiJadisCailleach - 06.01.2023 20:36

clickbait.
When the thumbnail hints at a graphical info aid but there aint any in the content.
-_-

Ответить
@farzadmf
@farzadmf - 06.01.2023 16:04

Or ... we could use Lazygit to do that (as I see you're using it as well 🙂)

Ответить
@fedeanastasis7040
@fedeanastasis7040 - 06.01.2023 14:43

When chris typed git ci, an editor opened up that let them write the message, do anyone how to recreate that?

Ответить
@hglbrg
@hglbrg - 06.01.2023 13:32

I love that you use correct commit messages, stating what this commit does (if applied), not what you did in your workday.

Ответить
@oxolov
@oxolov - 06.01.2023 13:18

You can do this in almost every git GUI... and with so much more ease - generally just select the lines you want to stage and press a button.

Ответить
@gungun974
@gungun974 - 06.01.2023 09:39

This is the most important thing I have see with Git.
I always struggle to manual stages files and need remove some part to just do a simple commit but this tools is just amazing and could really save me a lots of works and times !
Thanks a lots for your channel and all those wholesome videos ! ❤

Ответить
@emko333
@emko333 - 06.01.2023 07:43

you can do the same in lazygit with line commit, just select the chunks you want in the commit

Ответить
@vouneo
@vouneo - 06.01.2023 07:38

This is my new favourite channel

Ответить