I am having a strange issue that I can\'t seem to resolve. Here is what happend:
I had some log files in a github repository that I didn\'t want there. I found this
In my case I created the files with root permission locally and tried to push the code to remote with local permissions. So I ran this command
$find . -user root
to find out what all files have "root" as owner. And then I changed owner for all the files that are under root to local using following command
$sudo chown parineethat `find . -user root`
Then I was able to push my code from local to remote.