We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*
git
⇡
⇣
The text was updated successfully, but these errors were encountered:
See How to get count of unpublished commit with GitPython?
repo.iter_commits('BRANCH..BRANCH@{u}')
Sorry, something went wrong.
Check status of local Python relative to remote with GitPython
commits_behind = repo.iter_commits('master..origin/master') and commits_ahead = repo.iter_commits('origin/master..master') Then you can use something like the following to go from iterator to a count: count = sum(1 for c in commits_ahead)
commits_behind = repo.iter_commits('master..origin/master')
and
commits_ahead = repo.iter_commits('origin/master..master')
Then you can use something like the following to go from iterator to a count:
count = sum(1 for c in commits_ahead)
No branches or pull requests
*
whengit
repository is dirty v1.3.0⇡
when branch is ahead(commits to push)
⇣
when branch is being(commits to pull)
The text was updated successfully, but these errors were encountered: