GIT - Cross-platform stains / clean filters?

I am part of a fairly large organization whose developers are geographically distributed and use a combination of Windows, OSX, and Linux development environments.

I asked a previous question that forces me to use the clean / grease filters: Mark file in GIT repository as temporarily ignored

But ... what is the best way to do cross-platform filter scripts? I would prefer not to require developers to install additional scripts. Are there any recommendations on this? Any way to make filters run server-side (we use github)?

+3
source share
2 answers

, .

Solaris/Linux/Windows perl-, : script , , .

script, -, script, .

Os-, " ": (Os), ( "test" "fix" ...) . : , ?
"-Windows" "fix-Unix" , script "fix", ?

+1

, smudge/clean script . Smudge/clean , . , .

- 1 script . - , msysgit. script, Linux, bash.

0

Source: https://habr.com/ru/post/1778334/


All Articles