How to Add Git Add Remote Origin on Bitbucket Repository?

By Hardik Savani November 5, 2023 Category : Git

when i was working on my laravel project with my friend. both are working on same project, when i changed on many files, he don't know and he changed name of repository on bitbucket and i couldn't push any thing, i told him. He know how can we resolve this issue so i remove my old remote and added new remote url on my existing repository.

Finally, i solved my issue, if you also fetch issue like i had then you can just follow bellow command and solve.

Terminal Command

git remote -v

git remote remove origin

git remote add origin Bitbucket_Repository_URL

I hope it can help you...

Tags :
Shares