Git กำหนดค่าได้สูงผ่าน git config — ตั้งค่าตัวตน, editor, พฤติกรรมเริ่มต้น และ alias (ทางลัดสำหรับคำสั่ง) การกำหนดค่า Git ให้ดีและใช้ alias ช่วยปรับปรุง workflow และผลิตภาพของคุณ
การกำหนดค่าที่จำเป็น
git config --global user.name \"Your Name\"
git config --global user.email \"[email protected]\"
git config --global core.editor \"code --\"
git config --global init.defaultBranch main
git config --global pull.rebase
git config --global core.autocrlf input
