Skip to content
Snippets Groups Projects

Git Troubleshooting

Table of Contents

Fatal: HTTP request failed / authentication error

https://stackoverflow.com/questions/15381198/remove-credentials-from-git

Solution

If this problem comes on a Windows machine, do the following.

  • Go to Credential Manager
  • Go to Windows Credentials
  • Delete the entries under Generic Credentials
  • Try connecting again. This time, it should prompt you for the correct username and password.

./images/troubleshooting2.png?raw=True

./images/troubleshooting1.png?raw=true

Enter a commit message to explain why this merge is necessary

https://stackoverflow.com/questions/19085807/please-enter-a-commit-message-to-explain-why-this-merge-is-necessary-especially

Solution

It's not a Git error message, it's the editor, as git uses your default editor.

To solve this:

  1. press "i" (i for insert)
  2. write your merge message
  3. press "esc" (escape)
  4. write ":wq" (write & quit)
  5. then press enter