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
I hope it can help you...
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- How to Remove File from Git Commit Before Push?
- How to Delete a Branch form GitHub Repository?
- How to Rename Branch Name in Git Command?
- How to Switch Branch using Git Command?
- How to Create a New Branch on GitHub?
- How to Clone Github Repository using Command Line?
- How to Ignore Wildcard Files Name in Git using Gitignore?
- How to Ignore Folder in Git using Gitignore?
- How to Ignore File in Git using Gitignore?
- How to Git Ignore Some Files Locally?
- How to Clone Laravel Project from Github on Server?
- How to Merge Your Branch to main Branch in Github?
- How to Configure Git Username and Email?
- Git Remove Last Commit from Local Example