I get the following error when trying to push a new repo to my bitbuket server. I have seen this error before and usually I just close Sourcetree and reopen it and the error goes away, but this time the error is happening every time.
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
POST git-receive-pack (31653617 bytes)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; result=22, HTTP code = 400
Pushing to https://xxxxxxxxx/xxxxx/xxxxx/xxxxxxxxxxxxxx.git
Everything up-to-date
Completed with errors, see above.
Any ideas?