git ignores files. When ignored, it can be cloned but cannot be submitted.
迷茫
迷茫 2017-06-05 11:08:47
0
1
703

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.

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
给我你的怀抱

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template