docs/working-copy: Replace 'del index[path]' with index.remove(path)
Catch up with b12a5960
(Remove "del index[xxx]" from the API,
2013-05-02).
This commit is contained in:
parent
ecba70198f
commit
05c570c3fc
|
@ -19,7 +19,7 @@ Iterate over all entries of the index::
|
||||||
Index write::
|
Index write::
|
||||||
|
|
||||||
>>> index.add('path/to/file') # git add
|
>>> index.add('path/to/file') # git add
|
||||||
>>> del index['path/to/file'] # git rm
|
>>> index.remove('path/to/file') # git rm
|
||||||
>>> index.write() # don't forget to save the changes
|
>>> index.write() # don't forget to save the changes
|
||||||
|
|
||||||
Custom entries::
|
Custom entries::
|
||||||
|
|
Loading…
Reference in New Issue