在github中托管项目
2016-07-03 11:53
155 查看
1、在github中新建托管项目
选择 “Newrespository”
输入 “Repositoryname”
输入 “description”
选择
public(private项目是要收费哦)
选择遵从的开源协议
2、上传项目到github
执行以下命令:
克隆项目到本地
gitclone https://github.com/hao123/***.git
添加你的工程文件到项目,并add到本地git
gitadd .
提交更改到本地
git commit -m "first commit"
提交到你的github,此时会要求你输入你的github的账号和密码
gitpush -u origin master
回到你的github.com中的项目页,里面的文件已经发生改变了.
选择 “Newrespository”
输入 “Repositoryname”
输入 “description”
选择
public(private项目是要收费哦)
选择遵从的开源协议
2、上传项目到github
执行以下命令:
克隆项目到本地
gitclone https://github.com/hao123/***.git
添加你的工程文件到项目,并add到本地git
gitadd .
提交更改到本地
git commit -m "first commit"
提交到你的github,此时会要求你输入你的github的账号和密码
gitpush -u origin master
回到你的github.com中的项目页,里面的文件已经发生改变了.
相关文章推荐
- C++中cin/cout的用法
- Python机器学习库大全
- Python中fileinput模块使用
- Python flask使用templates 和static文件
- java 多线程之Executors.newFixedThreadPool
- Python flask使用templates 和static文件
- 初识C++
- C语言基础知识总结
- Yii2.0中文开发向导——Yii2中多表关联查询(join、joinwith)(转)
- Java Set集合
- Java-String之寻根问底
- Python学习笔记4:Python对象
- java 读文件方法大全
- C++多态的实现原理
- Java List 通用排序工具类
- spring学习(二)—通知
- Java 文件读取
- java中substring和indexof() 和lastindexof()
- java运行时执行顺序
- java赋值步骤