2015-04-27 46 views
0

我遇到了Bitbucket的一些問題。無法用Bitbucket推或拉

我一直試圖讓我的git使用更花俏,並設法得到一些錯誤。首先它是一個合併衝突,解決了這個問題。 不過來,每次我做一個混帳推我得到這個錯誤:

fatal: The current branch development has no upstream branch. 
To push the current branch and set the remote as upstream, use 

git push --set-upstream origin development 

我試圖解決,但現在我只得到這樣的:

fatal: unable to connect to bitbucket.org: 
bitbucket.org[0: 131.103.20.168]: errno=Connection refused 
bitbucket.org[1: 131.103.20.167]: errno=Connection refused 

地址似乎是到位桶自身的IP 。

非常感謝所有幫助。

回答

0

答案是編輯.git/config文件並從那裏刪除Bitbucket部分。 然後補充一點:

git remote add origin [email protected]:username/file.git 

前做:

git push -u origin --all