Can autocrlf be set per repository?

QuestionsQuestions8 SkillsProGit Config ManagementOct, 15 2025
093

Yes, the core.autocrlf setting can be set per repository. You can configure it for a specific repository by running the following command inside the repository:

git config core.autocrlf <value>

Replace <value> with true, input, or false as needed. This will apply the setting only to the current repository, while global settings (set with the --global flag) will apply to all repositories for the user.

0 Comments

no data
Be the first to share your comment!