I worked in a project some time ago that required me to develop a separated tool to make this project easier, and everything is in the same git repository.
I would like to select only a few commits that include changes to certain files (for example tool.c
, tool.h
) and add them to a new repository so that I can continue to improev this tool and have the history of changes.
Is that possible and if yes, how do I do it?