I have 2 directories in my repo, and I am trying to delete one of them, let's call it TestA, which contains a folder, and inside it contains a doc. It will be: TestA >>> subTestA >>> TestDoc
When I try to delete TestA, typing git rm -r TestA
or git rm -rf TestA
, instead of deleting the whole thing, it is only deleting the TestDoc, leaving behind my two folders - TestA and subTestA, which is still present in my local repo..
The master repo is not showing both the folders (empty dirs will not be shown right?) and the TestDoc... So where am I doing it wrong?
By the way, I am referencing from this link..