创建github仓库
2014-06-05 22:04
176 查看
第一次提交的过程:
1.首先在 https://github.com 上面创建github仓库。
2.进入到你本地工程目录下面,打开git bash
3.首先初始化本地仓库,在git bash中输入: git init
4.其次添加所有的本地文件到本地仓库的索引中:git add .
5.从本地索引中提交到本地仓库:git commit -m “这是我提交的内容”
6.链接https://github.com上的仓库:git remote add akon git@github.com:xcz1899/words.git
7.从本地仓库提交到https://github.com上的仓库:
git push -u akon master
第二次提交的过程:
1.添加所有的本地文件到本地仓库的索引中:git add .
2.从本地索引中提交到本地仓库:git commit -m “这是我提交的内容”
3.从本地仓库提交到https://github.com上的仓库:
git push -u akon master
参考资料:http://rogerdudler.github.io/git-guide/index.zh.html
1.首先在 https://github.com 上面创建github仓库。
2.进入到你本地工程目录下面,打开git bash
3.首先初始化本地仓库,在git bash中输入: git init
4.其次添加所有的本地文件到本地仓库的索引中:git add .
5.从本地索引中提交到本地仓库:git commit -m “这是我提交的内容”
6.链接https://github.com上的仓库:git remote add akon git@github.com:xcz1899/words.git
7.从本地仓库提交到https://github.com上的仓库:
git push -u akon master
第二次提交的过程:
1.添加所有的本地文件到本地仓库的索引中:git add .
2.从本地索引中提交到本地仓库:git commit -m “这是我提交的内容”
3.从本地仓库提交到https://github.com上的仓库:
git push -u akon master
参考资料:http://rogerdudler.github.io/git-guide/index.zh.html
相关文章推荐
- GitHub 版本控制 项目托管 04 创建GitHub远程仓库
- 在Github上创建一个项目代码仓库
- 在GitHub上创建仓库
- GitHub创建项目仓库
- 如何在github上创建代码仓库
- GitHub基础学习-创建GitHub账号并在GitHub上创建仓库
- GitHub上创建远程版本仓库(二)
- 用git 命令创建本地仓库将本地代码上传到github
- GitHub 版本控制 项目托管 05 创建GitHub本地仓库1-创建空仓库
- 学习github(1) -- github创建仓库并克隆到本地
- GitHub教程 仓库的创建、同步、删除
- cygwin git 在github创建仓库
- 2015年12月01日 GitHub入门学习(三)GitHub创建仓库
- 将本地创建的工程上传到github仓库中
- github 创建仓库并上传本地仓库
- git 第二天 注册git服务端(github)并创建远程仓库
- GitHub 版本控制 项目托管 06 创建GitHub本地仓库2-加入代码工程
- Github上创建项目,并将本地项目上传到远程仓库的方法(使用git bash)
- 【编程初学者】创建自己的开源项目4-将本地代码仓库的代码提交到远程代码仓库(myeclipse + github)
- 从命令行创建github仓库