• ↓
  • ↑
  • ⇑
 
Записи с темой: git (список заголовков)
12:05 

fatal: CRLF would be replaced by LF in

Vi Veri Veniversum Vivus Vici
Как часто это бесит в Git!

Заходим в нужную папку и выполняем:



  1. $ find . -type f -iname "*.css" -exec dos2unix "{}" +;
  2. dos2unix: converting file ./docblox/syntax_highlighter/tests/js/qunit.css to Unix format ...
  3. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreDefault.css to Unix format ...
  4. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreDjango.css to Unix format ...
  5. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeDjango.css to Unix format ...
  6. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeMDUltra.css to Unix format ...
  7. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreRDark.css to Unix format ...
  8. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreEclipse.css to Unix format ...
  9. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreEmacs.css to Unix format ...
  10. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeDefault.css to Unix format ...
  11. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeFadeToGrey.css to Unix format ...
  12. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeRDark.css to Unix format ...
  13. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreMidnight.css to Unix format ...
  14. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeEmacs.css to Unix format ...
  15. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeWordpress.css to Unix format ...
  16. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeMidnight.css to Unix format ...
  17. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreFadeToGrey.css to Unix format ...
  18. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCoreMDUltra.css to Unix format ...
  19. dos2unix: converting file ./docblox/syntax_highlighter/styles/shThemeEclipse.css to Unix format ...
  20. dos2unix: converting file ./docblox/syntax_highlighter/styles/shCore.css to Unix format ...
  21. dos2unix: converting file ./docblox/css/black-tie/jquery-ui-1.8.2.custom.css to Unix format ...
  22. dos2unix: converting file ./docblox/css/navigation.css to Unix format ...
  23. dos2unix: converting file ./docblox/css/jquery-ui.css to Unix format ...
  24. dos2unix: converting file ./docblox/css/default.css to Unix format ...
  25. dos2unix: converting file ./docblox/css/docblox/jquery-ui-1.8.16.custom.css to Unix format ...
  26. dos2unix: converting file ./docblox/css/api-content.css to Unix format ...
  27. dos2unix: converting file ./docblox/css/jquery.treeview.css to Unix format ...
  28. dos2unix: converting file ./docblox/css/sen.full.min.css to Unix format ...
  29. dos2unix: converting file ./docblox/css/theme.css to Unix format ...




Вместо .css, конечно, можно поставить любую маску. Ну и да, утилиту dos2unix надо вначале поставить.



По мотивам forrst.com/posts/Find_DOS_CRLF_files_and_conver...

@темы: Git

14:45 

Git Submodule

Vi Veri Veniversum Vivus Vici
Неплохая заметка на эту тему: chodex.ru/tag/git-submodule/

@темы: Git, Git submodule

Small Coder Blog

главная