How to add git add remote origin on bitbucket repository ?

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

Leave a Reply

Your email address will not be published. Required fields are marked *