DEV Community

Git brain dump

Katie on February 12, 2019

I barely know anything about Git, but I’m about to get trained in on more. So I’m checkpointing what I think I do know at this point, in an “explai...
Collapse
 
kenbellows profile image
Ken Bellows • Edited

I really enjoyed this perspective! One comment:

git patch ...

I don't think that's a thing? There are things known as "patches", which are basically diffs saved to a file (in fact, usually using git diff > mychanges.patch) that you can "apply" later using git apply ...; is that what you meant?

Collapse
 
katiekodes profile image
Katie • Edited

Probably! The idea of "patching" is something I read about at the last minute and wanted to put into the right mental "box." But I'd literally just skimmed it and made some assumptions. :-) Good to know!

This is why blogging on Dev is so great.

Collapse
 
yoadev profile image
Younes

Thank's for this post !

just for info.. you wrote get clone, I think you meant git clone 😄