Initial setup of Wordmove Movefile, git gitignore and gulp gulpfile.js for WordPress project

gitignore for WordPress project.

Files list to ignore.

  • .htaccess and MacOS unvisible files
  • log files
  • Configs of WordMove and wp-cli
  • sitemaps
  • backup files
  • sql dump files
  • wp-config.php
  • uploads

On remote, git repository should not be in web public area. When you init, add an option to set another place for repository files.

git init –separate-git-dir ..


git init –separate-git-dir ~/git/projectname

WordMove Movefile



  • Compile from sass directory to css directory
  • Watch changes of all php, sass/*.scss, js/*.js and reload the browser.

Leave a Reply