A simple trick. If you want to remove all the ‘.swp’ files from a git repository, just use:

1
git rm --cached '**.swp'
I’ve finally decided to set up a decent personal page. I have settled for github-pages because I like the idea of keeping my site in a repository and having someone else host and deploy it for me. The site will be really simple, mostly static files. Thanks to Github, Jekyll will automatically generate static pages for my posts every time I commit anything new to this repository.
Read more...