I had a local git project that I wanted to add to gitolite. Apparently this is hard so I abandoned the idea. I created a new gitolite repo by adding it to gitolite-admin/conf/gi
Your local and remote repositories do not share the same history, since you recreated the repo. Therefore, Git won't let you push this content.
If you are not afraid of losing the content that is on the remote repository, you can force push : git push -f.
git push -f