Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Set up Git and Add Gems

Jorge Otero
Jorge Otero
15,663 Points

What does "-rf" means in: rm -rf test/ git rm -rf test/ ?

Beside if I remove test/ of the current directory with "rm -r test/" and commit it, why I need to use git rm -rf?

1 Answer

Andrew Stelmach
Andrew Stelmach
12,377 Points

I think it unstages all files, and files within sub-directories, of the 'test' directory.

http://gitref.org/basic/