Answer the question
In order to leave comments, you need to log in
How to resolve Sass/sourcemapce conflict in git?
Good afternoon! I have the following question.
There are two front-end developers on the project, respectively, two write css (in this case, sass), in sass there are sourcemaps that always conflict in git. Please tell me how this problem is solved, how to add this part to ignore? (deleting sourcemaps is not an option)
Or how is this organized correctly on a large project?
I would be very grateful for your help!
Answer the question
In order to leave comments, you need to log in
I did this: $array = $arr2+$arr
, i.e. merged backwards, $arr2
overwrites $arr
, I need it that way.
I don't know how correct this is, but it works.
Please tell me how this problem is solved, how to add this part to ignore?Create a .gitignore file and add everything unnecessary there, incl. CSS, SourceMaps and all other auto-generated nonsense. Resp. after that, remove s.map from the repository history (completely).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question