Title: Remove .gitignore
Last modified: June 6, 2022

---

# Remove .gitignore

 *  Resolved [Cameron Jones](https://wordpress.org/support/users/cameronjonesweb/)
 * (@cameronjonesweb)
 * [4 years ago](https://wordpress.org/support/topic/remove-gitignore/)
 * The plugin contains a .gitignore file that is ignoring files that the plugin 
   requires to run. Anyone who includes the plugin in a project without using Composer
   is going to end up with broken deploys

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [lukeseager](https://wordpress.org/support/users/lukeseager/)
 * (@lukeseager)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/remove-gitignore/#post-15727426)
 * Hi Cameron,
 * Thank you for posting. The git ignore file can be removed from the plugin, thank
   you for bringing this up.
 * However, the file does not break the plugin as you suggest. If you look at the
   actual plugin files the /vendor folder is included, users do not need composer
   to use this plugin and no build process is required.
 * WordPress plugins are managed through svn not git, so the ignore file is not 
   used on the plugin directory.
 * The ignore file is simply there to save committing excessive files to the git
   repository I use to develop the plugin myself.
 * I’ll mark this topic as resolved as I don’t believe there is an issue. If you
   are seeing an error, please let me know and I will reopen the thread.
 *  Thread Starter [Cameron Jones](https://wordpress.org/support/users/cameronjonesweb/)
 * (@cameronjonesweb)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/remove-gitignore/#post-15728002)
 * Thanks for your reply.
 * Unfortunately it does indeed cause issues. If someone has a git repository for
   a site, which will usually be based in the root or wp-content directories, and
   includes the plugin, the plugin will be committed without the vendor folder. 
   If they have automatic deploys, the plugin will be deployed without files the
   plugin requires to run. I’ve had to fix this on a couple of sites already.
 *  Plugin Author [lukeseager](https://wordpress.org/support/users/lukeseager/)
 * (@lukeseager)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/remove-gitignore/#post-15728437)
 * Hi Cameron,
 * Thank you for the additional detail, I can see how that would be a problem for
   you and others now.
 * I’ve removed the gitignore file from the published plugin, this shouldn’t be 
   an issue going forward now. Thank you for flagging it up.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove .gitignore’ is closed to new replies.

 * ![](https://ps.w.org/wp-persistent-login/assets/icon-256x256.jpg?rev=1847715)
 * [Persistent Login](https://wordpress.org/plugins/wp-persistent-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-persistent-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-persistent-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-persistent-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-persistent-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-persistent-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [lukeseager](https://wordpress.org/support/users/lukeseager/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/remove-gitignore/#post-15728437)
 * Status: resolved