简体   繁体   中英

How to push or clone GitHub private repo

I am junior developer, just started my first job on company.

My question is,

I created new GitHub account for company and I joined company organization.

Now I have to push some works that I have done, but I having some problem.

remote: Repository not found.
fatal: repository 'https://github.com/company/navigator2.0_demo.git/' not found

I used another GitHub on my MacBook, should I do logout and re login something like this??

Also I am trying to clone some repo, It shows me same error.

I will wait for your help. Thanks.

If I am not wrong, you need to use the same account you created for your company. In that same account, you can invite yourself as a collaborator. But it is advisable that you use your githubs company account.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM