Add a file to the index.
The specified file must be in the working directory and must exist and be readable.
this |
a Index. |
file |
file to add. |
true if the file was added to the index or false if there was an error. |