Changes between Version 7 and Version 8 of GitCrashCourse
- Timestamp:
- 05/10/11 11:36:43 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCrashCourse
v7 v8 30 30 31 31 = Other neat features to enable = 32 33 == Handling linefeeds == 34 35 When working in mixed Windows/*NIX environments special care needs to be taken to handle linefeeds. Suggested best practice for OpenVPN developers working ''on *NIX'' is to use ''core.autocrlf=input'': 36 37 {{{ 38 git config --global core.autocrlf input 39 }}} 40 41 This will make sure that any CRLF linefeeds are converted to LF only when reading from the filesystem. ''On Windows'' set this to ''true'' instead: 42 43 {{{ 44 git config --global core.autocrlf true 45 }}} 46 47 This will convert CRLF linefeeds to LF when reading from ''and'' writing to the filesystem. 32 48 33 49 == Making git colourful ==