I have a repository foo
that contains a file Alice.js
.
I want to take that file (that has lots of commits) and create a new repository only with the commits from that file.
How can I do this?
Example:
Initial repository
.
+- Alice.js
+- Bob.png
+- Another.file
do magic
New repository
.
+- Alice.js
The new repository contains only the commits from Alice.js
.