# Erasing lineage of a file(s)

**URL:** <https://renku.discourse.group/t/erasing-lineage-of-a-file-s/152>\
**Category:** General\
**Created:** [7 August 2020 12:21 UTC](https://renku.discourse.group/t/erasing-lineage-of-a-file-s/152 "2020-08-07T12:21:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lusamino](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/lusamino/32/227_2.png) [@lusamino](https://renku.discourse.group/u/lusamino)\
**Post date:** [7 August 2020 12:21 UTC](https://renku.discourse.group/t/erasing-lineage-of-a-file-s/152/1 "2020-08-07T12:21:20Z")

</div>

Hi all,

Recently, I did a `renku run` for an experiment, but I got a bit of an awkward lineage. I therefore reverted that step with `git revert`, and run again. However, I got an even more awkward lineage:

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/c48c2cf06aeaaa592e1e614dd8d0583e7f28d81d.png)

Somehow, I believe that `renku` is just taking the old lineage, that was not reverted, and adding the new changes on top. Therefore, here it comes the question: is there any way to fully remove the lineage of a file, or set of files, in order to regenerate it again?

In this case, the involved files are the input (00\_rawpdfs.tar.gz) and the output (02\_extractedxml.tar.gz), and the script used (run\_extract\_origxml.py). And I am aiming at getting something like:

[![](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/d7d8878072d5399eaa97a4c57e659f7a2a1e5331.png) ](https://dl.dropboxusercontent.com/s/he2bcr66u3zx4qb/image.png?dl=0)

Thank you so much!  
Cheers  
Luis
