chickadee » git » index-add

index-add index path #!optional stageprocedure

Adds a given path, which must refer to a file relative to the index's repository, to the index. If an integer stage is given, it will be used as the staging number for the changes.