git基本操作示例,把文件上传至github 1.clone github项目 git clone https://github.com/username/PRojectname 2.进入目录 cd projectname 3.修改文件并提交至本地仓库 git add . git commit -a -m “initial commit” 4.连接github远程项目 git remote add romoteProjectReferenceName https://github.com/username/projectname 5.把本地文件push到远程仓库 git push -u romoteProjectReferenceName master
新闻热点
疑难解答