git - fatal: Could not read from remote repository. Private repo -


i have access private repository. can see in github. after use git clone , make changes on local machine.

now try make git push on repo , can see:

fatal: not read remote repository.

i saw .git/config , urls good.

how solve problem?

solved

firstly needed create fork of private project. next clone project local machine , add

git remote add uppstream githuburl 

next commit, add files , push. after pull request.

first: need check remote server of local repository.

you can list of configured remote urls command

git remote -v

second: if remoter server ok, need check whether have permission push github, there 2 ways access github server, 1 using email , password, other using ssh more convenient. github ssh keey


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -