“Make sure you configure your ‘user.email’ and ‘user.name’ in git” when trying to push to git lab

Make sure you run this commands

git config --global user.name "John Doe"

git config --global user.email "johndoe@email.com"

In the terminal. In this directory -I´m a Windows user-: C:\Program Files\Git\bin

Had the same issue. Solved running those commands there

Leave a Comment