![](/img/trans.png)
[英]How to push a local branch to a remote repository using LibGit2Sharp
[英]How to push changes to BitBucket Remote repository - remote address textbox is missing
我無法為.NET Webform Projet設置遠程Bitbucket存儲庫。
我將Microsoft Git Provider用作Visual Studio 2013中的源代碼控制插件。我已將源代碼控制添加到項目中並提交了初始提交。 在“同步提交”部分中,“同步”按鈕顯示為灰色。 我也沒有任何地方可以輸入遠程存儲庫URL(使用BitBucket)。
如何配置遠程存儲庫URL,以便可以將更改推送到BitBucket?
您可以直接使用GIT BASH。 進入目錄cd ...
然后將git remote add name_of_your_choice adress_of_bitbucket.git
當您單擊“克隆”時,您可以找到您的git repo的地址。
之后,您將可以執行git push。
編輯:好的,當您單擊Unsynced Commits
,下面您將看到Publish to Remote Repository
,然后在下面再次Enter the url of an empty Git repo.
Publish to Remote Repository
Enter the url of an empty Git repo.
您可以嘗試使用上面的命令(git remote等...),只有一種方法可以將遠程存儲庫添加到git中,所以是的,我確定為99%。 Visual Studio應該檢測到遠程回購。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.