1. I created a basic version, which contains the config directory, which contains the user's personal information.
2. I want colleagues to clone this project and include the config directory, but the contents of the modified config directory cannot be submitted.
给我你的怀抱2017-06-05 11:10:47
Listed in directory
/config
/config/a.conf
/config/b.conf
Create ignore configuration file .gitignore
./config/*.conf
!./config/*.default.conf
'
Copy a b into a.default.conf, so you only need to tell your colleagues to copy and remove the default. This way you can check whether the default has changed and ensure that there is no conflict