cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove a directory from git repository?

Hi

I have 2 directories on my GitHub repository. I'd like to delete one of them. How could I do that without deleting and re-creating entire repository?

1 REPLY 1

After adding a file in Git, you may require removing it for different reasons and at various levels. You may remove it from the index, working tree as well as file system or just remove it from the index and working tree.

jeromeadams6
Member