Let Octopress Ignore Vim Swp and Undo Files

Edit Rakefile and find copydot

Replace

1
FileList["#{args.source}/**/.*"].exclude("**/.", "**/..", "**/.DS_Store", "**/._*").each do |file|

To

1
FileList["#{args.source}/**/.*"].exclude("**/.", "**/..", "**/.DS_Store", "**/._*", "**/.*.swp", "**/.*.un*").each do |file|

Comments