今天没干啥事,就学了下github最简单的用法,能满足我现在的需求了
1.git init 2.git add *.c 3.git commit -m "code information" 4.git remote add name https://github.com/git hub username/repository name.git 5.git push -u name master input your username input your password
搞定。