Skip to content

Commit efcdba9

Browse files
committed
cmd/git(docs[GitStashCmd.push]): complete docstring
why: The docstring had a TODO placeholder instead of proper documentation. what: - Add proper description for push method - Document path, patch, and staged parameters - Add link to git-stash documentation
1 parent c154288 commit efcdba9

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/libvcs/cmd/git.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4829,9 +4829,18 @@ def push(
48294829
check_returncode: bool | None = None,
48304830
**kwargs: t.Any,
48314831
) -> str:
4832-
"""Git stash update.
4832+
"""Push changes to the stash.
48334833
4834-
TODO: Fill-in
4834+
Wraps `git stash push <https://git-scm.com/docs/git-stash>`_.
4835+
4836+
Parameters
4837+
----------
4838+
path :
4839+
Limit stash to specific path(s).
4840+
patch :
4841+
Interactively select hunks to stash.
4842+
staged :
4843+
Stash only staged changes.
48354844
48364845
Examples
48374846
--------

0 commit comments

Comments
 (0)