git commit message encoding 1

git commit message encoding

git config --global i18n.commitEncoding cp1252

Here is what the above code is Doing:
1. git config –global user.name “Your Name”
– This sets the author name in your commit transactions
2. git config –global user.email “your_email@youremail.com”
– This sets the author email in your commit transactions
3. git config –global color.ui true
– This sets helpful colorization of command line output
4. git config –global core.editor “‘C:/Program Files/Notepad++/notepad++.exe’ -multiInst -notabbar -nosession -noPlugin”
– This sets Notepad++ as your default editor for writing commit messages
5. git config –global i18n.commitEncoding cp1252
– This sets the default character encoding for your commit messages

Similar Posts