-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
Ideas #1
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So here is the story:
I had a pipenv environment that I somehow broke when installing a package. I did not had proper git versionning of the Pipfile and Pipfile.lock so I spent 3 days correcting my error. In the meantime I also shifted from pipenv to poetry. Anyway, I need to ensure that this will never happen to me again!
Now, how to do it? The idea is to create a new git branch before updating / installing a new package, do all stuff in this branch, run tests, and if everything is fine, merge to master.
Sticky notes:
poetry config --local virtualenvs.path ~/tmp/pypoetry
)git branch --show-current
orecho $(git branch --show-current)
to use git branch name in virtualenvs.pathThe text was updated successfully, but these errors were encountered: