Skip to content
scottgonzalez edited this page Feb 27, 2013 · 3 revisions

Dealing with empty repositories

Some git commands may fail on an empty repository.

Should all methods be safe on empty repositories? Is throwing an error ok?

Should there be a method for determining if a repository is empty?

how to check for an empty repository

Clone this wiki locally