Skip to content

Create a Git repo with only the history and content of /blueprint

This involves creating a new Git repo that:

1. Only contains the blueprint directorie’s content.
2. Inherits the current Git repo’s history for that content, and nothing else.

git-filter-branch(1) should be a good start.

To rewrite the repository to look as if foodir/ had been its project root, and discard all other history:

git filter-branch --subdirectory-filter foodir -- --all

Parent Task: #9174

Related issues

Original created by @sajolida on 9175 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information