I know this question has been asked a million times, but my ~/.gitconfig consists of only two lines, that are character correct with the tutorial.
git config --global user.name "trx"
git config --global user.email chazx@live.com
What could be the issue here?
This is my ~/.gitconfig:
your
~/.gitconfigis not in the correct format.You don’t need to put the commands:
in a file… you need to type them at the terminal.
Delete your
~/.gitconfigand manipulate it using thegit configcommand at the terminal, as explained in the tutorial.