Re: [PATCH] Fix 'git commit -a' in a newly initialized repository
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 22, 2007, 20:42 UTC
- Message-ID
- <Pine.LNX.4.63.0702222140360.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070222202812.8882.44375.stgit@c165>
Hi,
On Thu, 22 Feb 2007, Fredrik Kuivinen wrote:
> + die 'nothing to commit (use "git add file1 file2" to include for commit)'
Would it not make more sense to tell the user about "git add ."? Maybe together with a hint about .gitignore?
This error message is important. The most likely recipients are total git newsters, and we really should try to help them here.
Ciao, Dscho