Cannot push to github repo

git, github, push, version-control

Solution

There is some issue (if using https) if username contains "some" special characters.

Problem

My repo: https://shadyabhi@github.com/shadyabhi/learnajax.git ``` shadyabhi@archlinux-N210 ~/github/learnajax $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://shadyabhi@github.com/shadyabhi/learnajax.git fetch = +refs/heads/*:refs/remotes/origin/* shadyabhi@archlinux-N210 ~/github/learnajax $ git config -l user.name=shadyabhi user.email=abhijeet.1989@gmail.com merge.tool=vimdiff github.token=1095de7027bVVVV01cfAAAAAa5fc8f6 color.ui=auto core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://shadyabhi@github.com/shadyabhi/learnajax.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* shadyabhi@archlinux-N210 ~/github/learnajax $ git push -u origin master Password: fatal: Authentication failed shadyabhi@archlinux-N210 ~/github/learnajax $ ``` Now, I cant push into my repo. I have checked the github.token its the same as my Account Settings. Ofcoarse, I am entering the right password but I get this error.

Original source