What is the recommended workflow if I want to pull a git repo into a virtual Python environment? I think it's easiest to:
- Create an empty directory
- cd into it and
git clone <repo>
, as this will work only in empty directories - create the virtual environment in a subdir in the same directory
- Start the VE and install requirements.txt from the
<repo>
. - Add the subdir (and other stuff for my eyes only) to .gitignore
- work on project as intended
- perhaps ask to push valuable/shareable results to the original repo.
Or is there a better way?
Disclaimer: I'm quite a n00b with git, please bear with me. I'm well aware there are multiple similar answers already, however I couldn't find a convincing TL;DR. Perhaps I missed it.