E
E
EmachinesDIMA2018-07-18 16:33:40
Python
EmachinesDIMA, 2018-07-18 16:33:40

How to combine virtual environment and git rep?

1. create folder1.
2. go to folder1
2.1 create virt_env folder2
2.2 go to folder2
3. incline rep to folder2
4. go to rep_folder and make changes
5. return to folder2
6. do git init
get nested .git in .git
should this be two projects? or how to combine virtual environment and git rep? (well, respectively of the same name)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Melnikov, 2018-07-18
@EmachinesDIMA

We make the root folder, the project, it contains 2 , one with the environment, the second with the git.
That's all ...
No one pushes the virtual environment into the git ...

S
Stanislav Pugachev, 2018-07-18
@Stqs

also look here, maybe it will help you
https://git-scm.com/book/en/v2/Git-Tools-Submodules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question