PyBites-Open-Source/eatlocal

Problems pushing to Github if local repo differs from remote.

rhelmstedter opened this issue · 1 comments

If local repo differs from remote, eatlocal submit hides git error message and continues. The bite is not actually pushed even though eatlocal claims that is was. eatlocal should display the error from git and exit.

This has been addressed by using gitpython. This requires creating passing in the local repo. That means creating a third environment variable called PYBITES_REPO.

Now eatlocal raises an error stating that the git push command failed.