亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

go get results in 'terminal prompts disabled'

go get results in 'terminal prompts disabled'

Go
HUH函數 2021-11-01 16:48:31
我使用瀏覽器中的 Github UI 創建了私有倉庫 examplesite/myprivaterepo。然后我轉到我的 go 目錄(在桌面上)并克隆它:$ cd $GOPATH$ go get github.com/examplesite/myprivaterepo到現在為止還挺好。創建文件 scheduler.go,添加到 repo 并推送。$ vim scheduler.go$ git add scheduler.go$ git commit$ git push一切正常。但是當我找到一臺干凈的筆記本電腦并嘗試克隆 repo 時,出現錯誤:# Now on laptop, which doesn't yet know about the repo$ cd $GOPATH$ go get github.com/examplesite/myprivaterepo# At this point it should ask for my user ID and password ,right? But it doesn't.# Instead, this error occurs:cd .; git clone https://github.com/examplesite/myprivaterepo /Users/tom/go/src/github.com/examplesite/myprivaterepoCloning into '/Users/tom/go/src/github.com/examplesite/myprivaterepo'...fatal: could not read Username for 'https://github.com': terminal prompts disabledpackage github.com/examplesite/myprivaterepo: exit status 128為什么我的筆記本電腦討厭我自己的回購,我怎樣才能讓它接受它的命運?謝謝。
查看完整描述

3 回答

  • 3 回答
  • 0 關注
  • 187 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號