initial question on grafting the history when we have sensitive data
This commit is contained in:
parent
2a4d7d894b
commit
dee690587c
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
I do not know yet if that it possible since I have only cursory knowledge of former grafts in git and what new came to replace them.
|
||||||
|
|
||||||
|
The use case: we have a git-annex repo (heudiconv converted MRI data) where some files with sensitive information were added directly to git not git-annex. We do not want to rewrite the entire history since that repository already saw a good number of clones and forks. I wondered if we could
|
||||||
|
|
||||||
|
1. move those files under git-annex
|
||||||
|
2. establish a new history from that new tree object
|
||||||
|
3. "graft" new history commit into the old "sensitive" one as to establish correspondence between the two
|
||||||
|
- I would expect then something like "git pull --ff-only" to work for people seamlessly jumping between those points
|
||||||
|
4. git push only new history to github thus not revealing old history with sensitive data under git
|
||||||
|
|
||||||
|
|
||||||
|
Joey, WDYT? any words of wisdom?
|
||||||
|
|
||||||
|
[[!meta author=yoh]]
|
||||||
|
[[!tag projects/repronim?]]
|
Loading…
Add table
Add a link
Reference in a new issue