星期四, 7月 25, 2013

error: The requested URL returned error: 403 while accessing https://github.com/mingderwang/single.git/info/refs?service=git-receive-pack fatal: HTTP request failed

error: The requested URL returned error: 403 while accessing https://github.com/mingderwang/single.git/info/refs?service=git-receive-pack
fatal: HTTP request failed

if you have multiple accounts on github and you can't push stuff to another github account with error above

just change your remove url using command like

$ git remote set-url origin https://userName@github.com/mingderwang/single.git

## add your userName@ before github.com may help

沒有留言: