I\'m on Ubuntu 12.04 LTS and just upgraded my git
from 1.7
-something to version 1.8.4
. The problem is when I want to push to a GitHub repo
I faced a similar problem and got to this question in the search for an answer.
Figured out the issue.
git push
without adding any files can give this errorgit push
without adding any commits can do the sameso the simple solution would be to follow this
git add --all .
git commit
git push