Rip's Domain

CFWheels and Git: Ignoring unpacked plugin directories

Posted in CFWheels, Git by rip747 on November 2, 2009

Just a quick little git and Wheels tip. Most of the time, you might only want to track your plugins .zip file in your repo and ignore the plugin’s unpacked directory since it’s pretty much redundant to track both. In order to do this, create a .gitignore file where your .git directory lives. In it add the following:

plugins/**/*

What that does is essentially tells git to ignore any subdirectories off the main plugin directory.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: