How To Add \ Track an Empty Directory With Git

In this blog post, I will show you how to add \ track an empty directoty with Git.

By default, when you add an empty directory to your Git repository, it will not be tracked. However, in some cases, you actually need an empty directory in your Git repository.

Process

Adding an empty directory is very simple; you create the directory, and inside the empty directory, you create a file called:

.gitkeep


Posted

in

by