I want to setup a repo that has a remote without the username and would prompt for creditials when doing a pull/push. Is this possible with BitBucket. Something like
git clone https://bitbucket.org/teamname/repo.git
I think you need to update your version of Git.
I just tried to clone a repository from Bitbucket on one of my Linux boxes with Git 1.7.1 and received the same error that you did. I then tried to clone the same repository on another Linux box with Git 184.108.40.206 and was prompted for my username.
Initialized empty Git repository in /opt/sites/reponame/.git/
error: The requested URL returned error: 401 Unauthorized while accessing https://bitbucket.org/teamname/reponame.git/info/refs
fatal: HTTP request failed
I don't think i have a ~/.netrc file
Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events