github - ERROR: Permission to user1/repo.git denied to user2 -
someone know trying clone github repo , make changes directly it. it's public repo. he's cloned read-write access link , can pull repo. problem when tries push gets error
error: permission user1/repo.git denied user2
where he's user2 , i'm user1. i've allowed other people use different repos before , i've never had problem. missing allow him access or did github change? i've seen on page github:
this error occurs when attach key deploy key on repo1. can push , pull repo without issue, won’t have access other repo key. solve this, remove key repo1’s deploy keys , attach on account page instead. key have access repos account has access to.
we haven't messed deploy keys, can't find other solution on web.
i stupid , didn't add them collaborators.
to this, follow these instructions:
- go
repository
>admin
>collaborators
- you see text box
add
button. in order add collaborator start typing in text box until see actual username suggested in drop down list appears type.- select username cause green check mark appear indicating system recognized username.
- press
add
add collaborator repository.
you can watch octocast: http://screencast.com/t/m7yn19n4645h
Comments
Post a Comment