工作日

来源:互联网 发布:ios在线视频软件 编辑:程序博客网 时间:2024/05/05 07:12

1.昨天弄了下github,就是生成ssh秘钥,将公钥放到github上,再将私钥放到本机的ssh上,然后就是在github上建工程了,建完工程有两个选择,就是创建readme或不建readme,不知道这个文件是干什么的,我没建立,然后就是在本地操作了


$ makdir ~/hello-world    //创建一个项目hello-world

$ cd ~/hello-world    //打开这个项目

$ git init    //初始化    会建一个.git文件

$ touch README

$ git add README   //更新README文件

$ git commit -m 'first commit'//提交更新,并注释信息“first commit” 

$ git remote add origin git@github.com:defnngj/hello-world.git   //连接远程github项目  

$ git push -u origin master   //将本地项目更新到github项目上去


2.之前还弄了下vim,clang-complete是很好的自动补全工具,mac上要装命令行工具,输xcode_celect命令就自动安装了,然后就可以装clang-complete了

0 0
原创粉丝点击