我正在遵循 Github 上的代碼說明。第一步是說打開終端,切換到 ANNA-PALM 源代碼檔案夾。然后是這個命令列
git clone https://github.com/imodpasteur/ANNA-PALM
cd ANNA-PALM
當我在 spyder(在 anaconda 中)上運行它時,出現此錯誤
File "<ipython-input-24-b04c1bbc8ffc>", line 1
git clone https://github.com/imodpasteur/ANNA-PALM
^
SyntaxError: invalid syntax
uj5u.com熱心網友回復:
這應該在終端/cmd 中運行而不是python shell
在要添加克隆存盤庫的目錄中打開檔案資源管理器
在目錄欄輸入cmd
在cmd中輸入:
git clone https://github.com/imodpasteur/ANNA-PALM cd ANNA-PALM
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/373772.html
上一篇:如何使用gitlog--pretty=format:"...."獲取參考名稱?%d顯示refs,但都是相同的顏色
下一篇:嘗試正確連接git-p4分支
