Creating Laser Focused Git Commits Using Git Add Patch

preview_player
Показать описание
git add -p is a great way to review what you're about to commit & to stage specific pieces of a file.

Hit the subscribe button to receive more videos like this!

---

Follow along?

Рекомендации по теме
Комментарии
Автор

Great video. Powerful and simple. Thanks bruv!

chillydoog
Автор

I love the explanation, keep up the good work!

tonysong
Автор

I knew staging hunks was a thing but somehow just never tried it. I definitely will now.

eritert
Автор

Έλα ρε πατρίδα! Πολύ καλό tutorial! Ωραίος!

konstantinosoikonomou
Автор

I started to like atomic commits once I discovered Fugitive's functionality. I just do bunch of changes and then stage hunks via fugitive's =/- and v-selection. Makes commits super clean.

Oswee
Автор

Nick, could you show us a short tutorial on how to create a blog website with jekyll?

cylbmw
Автор

Cool, but how would it work if, for example, fixing a function in one file would also mean you had to correct how that function is called in another file? Now the "fix whatever" commit is not a one-line change, do you still commit changes that are an incomplete fix?

rickdg
Автор

Hi nick i got 1 question regarding git

So there is this git repo (quart) at which i contributed and all i did is i added a very basic todo app using quart explaining appliance factory method and i named folder ApplicationFactory
And created pull request

After a week i get a mail from repo master saying
"Thanks I've merged this (renamed and slightly altered). I think it is a good example for using Flask extensions."

But when i see on contribution page of that repo i cant find my name

The catch is he did merge my branch but renamed it to "todo_app" and did some changes in files itself

Any idea why so
Should i email him back asking why my name isnt on contribution's list even tho u have merged my branch?

drac
visit shbcf.ru