stop using `git add .` (beginner - intermediate) anthony explains #078

preview_player
Показать описание
short and sweet git pro-tip so you don't commit junk accidentally

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

"-u" stands for "update", that makes it easy to remember.

According to the docs it means "update the index where there's already an entry", but I always read "git add -u" as "git add updated".

StanislavSchmidt
Автор

Contemplating every time I've done a git add .

ericng
Автор

you can just do commit -am "message" directly

nexovec