Quantcast
Viewing all articles
Browse latest Browse all 15

Rails, Git and Empty Directories

It seems that Git ignores empty directories by default, just like Mercurial. Unfortunately, when you create a new Rails project, you also create empty directories. You can use this bash function (e.g. in your .bashrc file) to find those empty directories: This function could certainly be improved. For example, the output could be piped into [...]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 15

Trending Articles