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.
Asked
Active
Viewed 91 times
1 Answers
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:
- Use git for multiple server configuration files
- How To Use Git to Manage your User Configuration Files on a Linux VPS
- Managing Configuration Changes with Git
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.