1 回答

TA貢獻(xiàn)1789條經(jīng)驗(yàn) 獲得超8個(gè)贊
要運(yùn)行 github 存儲(chǔ)庫(kù),您需要使用 git clone 將存儲(chǔ)庫(kù)從遠(yuǎn)程克隆到本地,要啟動(dòng)它,步驟將在終端或 git bash 中類似于這樣
cd <base_folder> #folder where repo will be downloaded
git clone <repo_url> #this will clone remote repo to local
cd <repo_folder> #make repo folder current directory
之后,您可以處理該項(xiàng)目,但要將本地存儲(chǔ)庫(kù)推送/合并到遠(yuǎn)程,您將需要所有者的許可
另外建議為每個(gè)項(xiàng)目創(chuàng)建單獨(dú)的虛擬環(huán)境,它會(huì)是這樣的
python3 -m venv <name_of_venv> #Creating venv
<name_of_venv>/bin/activate #activating venv in linux
<name_of_venv>/Scripts/activate #activating venv in windows
添加回答
舉報(bào)