簡體   English   中英

我想在 ubuntu 中將遠程 git url 更改為 hairbodyskin-production

[英]I want to change remote git url to hairbodyskin-production in ubuntu

我希望我的存儲庫是 hairbodyskin-production。 但它並沒有改變。

在此處輸入圖像描述

我試過這個

git config remote.origin.url https://x-token-auth:ATCTT3xFfGN02teIasCShaVu_OFcBiXmEGz5eXTLrjSOrRtyaZt-OU3r0II2rUS58_5auPxITl-L7aEVEge-aCHSUOZI4Cl0fgEtHSAzgX9Gg75Zrn2_pC1s7966yjgp4M1n0IshRyjKkleqGl2rxttxe6gbaHbCExkW0gbSDzc2Z4JgZlqlSoM\=65CB674A@bitbucket.org/cwdevelop/hairbodyskin-production.git

我也試過這個

git config remote.origin.url --global https://x-token-auth:ATCTT3xFfGN02teIasCShaVu_OFcBiXmEGz5eXTLrjSOrRtyaZt-OU3r0II2rUS58_5auPxITl-L7aEVEge-aCHSUOZI4Cl0fgEtHSAzgX9Gg75Zrn2_pC1s7966yjgp4M1n0IshRyjKkleqGl2rxttxe6gbaHbCExkW0gbSDzc2Z4JgZlqlSoM\=65CB674A@bitbucket.org/cwdevelop/hairbodyskin-production.git

我也試過這個

git remote set-url origin https://x-token-auth:ATCTT3xFfGN02teIasCShaVu_OFcBiXmEGz5eXTLrjSOrRtyaZt-OU3r0II2rUS58_5auPxITl-L7aEVEge-aCHSUOZI4Cl0fgEtHSAzgX9Gg75Zrn2_pC1s7966yjgp4M1n0IshRyjKkleqGl2rxttxe6gbaHbCExkW0gbSDzc2Z4JgZlqlSoM\=65CB674A@bitbucket.org/cwdevelop/hairbodyskin-production.git

沒有什么對我有用。

試試這個命令

git remote set-url --delete origin

git remote set-url origin <URL>

雖然這不是 Magento 問題,但您絕對應該從您的問題中刪除所有私人數據 - 令牌、URL 等 - 並在它們已公開 30 分鍾后進行更改,這可能會有所幫助:

git remote remove origin

git remote add origin <my-new-url>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2025 STACKOOM.COM