Ignore specified modifications when git add
巴扎黑
巴扎黑 2017-05-02 09:40:29
0
2
901

There are currently two branches, master and b branch
Every time a file is modified, a lot of files will be generated after compilation, and some of the files need to be submitted to the master branch, and some need to be submitted to the b branch
How to ignore the files of another branch when executing git add under a certain branch

巴扎黑
巴扎黑

reply all(2)
大家讲道理

Just configure different .gitignore for the two branches.

phpcn_u1582

git add + the file name you need to submit

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