---
title: "Discussion on \"LF vs CRLF - Configure Git and VS Code to use Unix line endings\" | Hashnode"
description: "Discussion on \"LF vs CRLF - Configure Git and VS Code to use Unix line endings\". Set LF as end of line character in VS Code and Git\nTo set the default for line endings in VS Code to LF:\n\ngo to Command Palette (Ctrl + Shift + P)\n\ntype Settings. Choose Preferences: Open Settings (UI) from the list of options that are displayed\n\nIn ..."
url: "https://hashnode.com/posts/lf-vs-crlf-configure-git-and-vs-code-to-use-unix-line-endings/66e818da942c8069d4116379"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LF vs CRLF - Configure Git and VS Code to use Unix line endings](https://www.naveedausaf.com/lf-vs-crlf-configure-git-and-vs-code-to-use-unix-line-endings?utm_source=hashnode&utm_medium=feed)

Set LF as end of line character in VS Code and Git To set the default for line endings in VS Code to LF: go to Command Palette (Ctrl + Shift + P) type Settings. Choose Preferences: Open Settings (UI) from the list of options that are displayed In ...

Sep 16, 2024 · 5 min read · naveedausaf.com  
Updated Sep 22, 2024  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#vscode-cjevho8kk00bo1ss2lmqqjr51](https://hashnode.com/tag/vscode-cjevho8kk00bo1ss2lmqqjr51)
-   [#windows](https://hashnode.com/tag/windows)
-   [#eol](https://hashnode.com/tag/eol)
-   [#lf-crlf](https://hashnode.com/tag/lf-crlf)

## Written by

[Naveed Ausaf](https://hashnode.com/@nausaf)

@nausaf

  
[View profile](https://hashnode.com/@nausaf)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
