stevejenkins / pihole-cloudsync

Syncs blocklists, blacklists, and whitelists across multiple Pi-holes using a private GitHub repo
MIT License
517 stars 104 forks source link

Can't push to git repo with private repository #8

Closed Nick-Gatti closed 3 years ago

Nick-Gatti commented 4 years ago

Whenever I try to run pihole-cloudsync --push, I get the following error:

fatal: Authentication failed for 'https://github.com/NGatti1997/my-pihole-lists.git/'
error: Could not fetch origin
Local Pi-hole lists are different than remote Git repo. Updating remote repo...

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@raspberrypi.(none)')

Not sure where the problem lies. I'm sure the username and password are right, and I've run git config.

misterpyrrhuloxia commented 4 years ago

This is happening to me non-stop as well.