I have created an account on Bitbucket. According to their instruction, I have to use
git push -u origin --all # pushes up the repo and its refs for the first time
But it doesn't push refs as expected since I got this message :
error: --all can't be combined with refspecs
Is it because git changed and so their instructions are outdated ? I did use Bitbucket in the past I don't remember having this problem.
If yes how should they rewrite it ?
Update : I read Error when "git push" to github but that's not exactly my question. My question is also about the documentation written by bitbucket : is it outdated ie it has worked in the past but it doesn't work any more because git changed its spec ? Or is it an error from the start ?
Update : I use latest git version on Windows