git rm

Code Example - git rm

                
                        git rm -r --cached ./bin/
                    
                
 

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 cached

                        
                                $ git rm --cached filename
                            
                        
 

Related code examples