This repository is my personal collection of small but detailed guides of how to perform some more advanced tasks with git.
These guides are written by me and for primarily myself, so I can come back to these in the future and understand exactly how and why things are done in the way described. That is why some of these might be considered way too detailed/rambly for most persons, but maybe someone else than me out there will appreciate it.
Anyway, here is a list of the current selection of guides available:
- Break Out Specific Files/Directories to a New Git Repository
Instructions on how to move just a small subset of files, along with all their specific commit history, from a big repository into a separate one. git add -p
is your friend
A small summary of how to use the commandadd -p
, which allows you to only add specific parts of a file to a commit.