Skip to content

How to get list of stashed changes #1165

Answered by Byron
guptagaurav0075 asked this question in Q&A
Discussion options

You must be logged in to vote

There is no easier way to do that, as GitPython provides mostly low level commands.
I presume you will have to parse the output of the git command execution yourself.
As for the line splitting:

>>> "hi\nho".split("\n")
['hi', 'ho']

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1076 on February 26, 2021 11:18.