git status parser
Project description
Installation
$ [sudo] pip install git-status
Examples
>>> import git_status
>>> git_status.get(".")
M path/to/modified
A path/to/added
D path/to/deleted
R path/to/renamed
?? path/to/untracked
Status
class
>>> status = git_status.Status(".")
>>> status.A
['path/to/added']
>>> status.M
['path/to/modified']
>>> status.D
['path/to/deleted']
>>> status.R
['path/to/renamed']
>>> status.untracked
['path/to/untracked']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-status-2020.7.1.tar.gz
(1.7 kB
view hashes)