简体   繁体   中英

How can i connect Git and Github

For connecting both git and github. First I entered user mail and username and later created a folder in the git folder and located newly created path in git bash and then I entered git init then am getting PERMISSION DENIED. Can any one help me with this ?

It depends on your OS, but the general answer is:

  • First make sure you can create a folder ( mkdir test )
  • Once that is working, then you can use git init myNewRepo
  • And then you can start linking it to GitHub:

     cd myNewRepo git remote add origin https://github.com/<me>/<myNewRepo> 

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