Git - error failed to push some refs to git resolve?
I fetch this error i was working on my php project and when i need to add that project on my bitbucket account. so first i create repository on my bitbucket account and clone that repo. but when i push first time my projects i found following error:
error failed to push some refs to
https://infotech@bitbucket.org/infotech/mycollege.git
I did try many to solve bellow issue, but i can't found proper solution at last i did try my own to git add like this way :
git add -A
git commit -m "setup project"
git push origin master
....
And Solve my issue, you can try this if you solve your problem.

Hardik Savani
I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. 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.