dvc cleanup - removing "unchecked out" cache and unchecking out data #10488
              
                Unanswered
              
          
                  
                    
                      grzegorz-graczyk
                    
                  
                
                  asked this question in
                Help
              
            Replies: 1 comment
-
        
 There are no commands exactly like those you describe, but there is one to address this use case:   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am not sure if these features exist in dvc, so wanted to ask if I missed them or are these indeed not implemented:
An obvious challenge is that in above case this would result in data loss - but with remote repository this is a valid use case; and the desired cache state can be reached by running
dvc pull 1.txt.dvcon a clean cache.dvc destroy/ "uncheckout". I am looking for a way to restore a dvc state of clean git checkout. The main focus here is removing the files and directories checked out using dvc, as they might be located in various places of the repository. Cache and local config probably would make sense, but these are easy to remove manually.Beta Was this translation helpful? Give feedback.
All reactions