1. 如何使用GitHub
执行“git remote add origin https://github.com/username/projectname.git",将GitHub的repository链接保存到本地的config中。
对于新建的repository,当执行”git clone https://github.com/username/projectname.git“时,这个链接会被自动保存到".git/config"里。
执行“git remote add origin https://github.com/username/projectname.git",将GitHub的repository链接保存到本地的config中。
对于新建的repository,当执行”git clone https://github.com/username/projectname.git“时,这个链接会被自动保存到".git/config"里。