My initial commit contained some log files. I\'ve added *log to my .gitignore, and now I want to remove the log files from my repository.
*log
.gitignore
Also, if you have commited sensitive data (e.g. a file containing passwords), you should completely delete it from the history of the repository. Here's a guide explaining how to do that: http://help.github.com/remove-sensitive-data/