git rm cached

Code Example - git rm cached

                
                        $ git rm --cached filename
                    
                
 

remove git

                        
                                rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run 
rm --help
                            
                        
 

git rm

                        
                                git rm -r --cached ./bin/
                            
                        
 

Related code examples