Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'git commit -a' in a newly initialized repository
With current git: $ git init $ git commit -a cp: cannot stat `.git/index': No such file or directory Output a nice error message instead. Signed-off-by: Fredrik Kuivinen <frekui@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information