Jump to content

What files/folders should be added to .gitignore for regular development?


OrganizedFellow
 Share

Recommended Posts

As always, @LostKobrakai offers us an elegant solution. Sir, you have my respect.

For mac users (I do most my coding on a mac myself), adding ".DS_Store" is also a good thing. If only I could tell Filezilla to ignore those as well :/

I've recently been thinking of this matter as well. Having a few published sites where my local copy now has completely different content from what's online, it's simple to conclude that it's best to leave everything under assets away from version control. But on my latest project I'm also adding a couple of bespoke (love that word, so high-end) modules, so I'd keep modules within git's range as well.

Then all you have to consider when changing stuff is export the new / changed fields and templates to the live version, upload new / changed files, and that's about it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...