Remove a stashed state from the stash list. Parameters: index : int The position within the stash list of the stash to remove. 0 is the most recent stash.
(self, index: int = 0)
| 1359 | payload.check_error(err) |
| 1360 | |
| 1361 | def stash_drop(self, index: int = 0) -> None: |
| 1362 | """ |
| 1363 | Remove a stashed state from the stash list. |
| 1364 | |
| 1365 | Parameters: |
| 1366 | |
| 1367 | index : int |
| 1368 | The position within the stash list of the stash to remove. 0 is |
| 1369 | the most recent stash. |
| 1370 | """ |
| 1371 | check_error(C.git_stash_drop(self._repo, index)) |
| 1372 | |
| 1373 | def stash_pop( |
| 1374 | self, |