1

I have an application with it's own files on my C:\wamp\www\project localhost. I want to use git to only keep track of the custom files I add to the project. This project has existing files of course because it is a web application. I would like to be able to switch between versions of my project and replace files automatically within my localhost. Is it possible to do this? I am new to git and as I research this topic, it just confuses me more.

user2936448
  • 335
  • 4
  • 16

1 Answers1

0

Yes, Git can be a good choice for versioning the configuration of an app. If your requirements are not met by using Git, you'll have to consider a configuration management tool, such as CFEngine, Puppet, Ansible, Chef or Salt.

These links will help you get started using Git to version your configuration:

The key parts for this task if you are new to Git will be the .gitignore file to set which configuration files you want to track, and git checkout to switch between configuration versions.

Community
  • 1
  • 1
Ed I
  • 7,008
  • 3
  • 41
  • 50