0

I have changed the name of a repository using bitbucket settings interface,

but now I can't push from the command line

remote: Repository tdkdev/tdkwebapp not found
fatal: repository 'https://nunito@bitbucket.org/tdkdev/tdkwebapp.git/' not found
Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301

2 Answers2

0

You have to update the origin upstream:

git push --set-upstream origin tdkdev/tdkwebapp
nologin
  • 1,402
  • 8
  • 15
0

You need to update where origin points in each copy of the repo:

git remote set-url origin https://nunito@bitbucket.org/tdkdev/new-location.git

Jim Redmond
  • 4,139
  • 1
  • 14
  • 18