reset_default
Description:
Update some entries in the index from the target commit tree.
The scope of the updated entries is determined by the paths specified in pathspecs. Passing null
in target will result in removing entries in the index matching the provided pathspecs.
Parameters:
| this |
a Repository. |
| target |
the target Object which is a commit or a tag. |
| pathspecs |
a list of file paths to reset. |