Git config

So one of the first things you should do once you install Git is to set up its configuration settings. Such items include your name, email, and your default editor, for fixing merge conflicts and updating your commit titles and messages.

To edit your name within Git:

git config --global user.name "NAME"

To edit your email:

git config --global user.email <email>

And to set your default editor:

git config core.editor <editor name>

You may also wish to coerce Git into handling linefeed and character line feed differences, especially if you are working in a team with multiple different operating systems.

To enable this feature:

git config --global core.autocrlf true
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.