1. Introduction: Configuring Git Flashcards
1
Q
List the settings before using Git for the first time.
A
- Name
- Default Editor
- Line Ending
2
Q
What are the different levels for applying the settings in Git?
A
System - all users
Global - all repositories of current users
Local - current repository
3
Q
What is the Line Ending issue for using Git?
A
Windows - \r\n
Linux/MacOS - \n
Sharing code can cause compatibility issues because of different line ending for different OS
4
Q
How to fix the Line Ending issue in Git?
A
Do core.autocrlf setting