开源项目托管GitHub简单使用
2014-09-20 11:31
686 查看
1:https://github.com/
注册账户,并创建项目
2:安装git gui
3:运行Git Bash
4:同步项目
5:提交更新
cd AutoCHM
进入项目目录
git add .
将改动和新增的文件添加到版本管理器
git commit -m "运行程序"
提交到本地的版本控制库里,并加上本次提交的说明
git push -u origin master
将你本地的仓库提交到你的github账号里,
然后输入你的github的账号和密码
注册账户,并创建项目
2:安装git gui
3:运行Git Bash
Welcome to Git (version 1.9.0-preview20140217) Run 'git help git' to display the help index. Run 'git help <command>' to display help for specific commands. redmine@REDMINE-PC ~
4:同步项目
redmine@REDMINE-PC ~ $ git clone https://github.com/sohudo/AutoCHM.git Cloning into 'AutoCHM'... remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. Checking connectivity... done.
5:提交更新
cd AutoCHM
进入项目目录
git add .
将改动和新增的文件添加到版本管理器
git commit -m "运行程序"
提交到本地的版本控制库里,并加上本次提交的说明
git push -u origin master
将你本地的仓库提交到你的github账号里,
然后输入你的github的账号和密码
redmine@REDMINE-PC ~ $ cd AutoCHM redmine@REDMINE-PC ~/AutoCHM (master) $ git add . redmine@REDMINE-PC ~/AutoCHM (master) $ git commit -m "运行程序" [master 8c8ce0c] 运行程序 7 files changed, 155 insertions(+) create mode 100644 bin/Auto.ICO create mode 100644 bin/AutoCHM.Ini create mode 100644 bin/AutoCHM.exe create mode 100644 bin/Hha.dll create mode 100644 bin/Hhc.exe create mode 100644 bin/Itcc.dll create mode 100644 bin/Language/ChineseGB2312.ini redmine@REDMINE-PC ~/AutoCHM (master) $ git push -u origin master Username for 'https://github.com': sohudo Password for 'https://sohudo@github.com': Counting objects: 10, done. Delta compression using up to 8 threads. Compressing objects: 100% (9/9), done. Writing objects: 100% (9/9), 957.16 KiB | 0 bytes/s, done. Total 9 (delta 0), reused 0 (delta 0) To https://github.com/sohudo/AutoCHM.git 6821a6b..8c8ce0c master -> master Branch master set up to track remote branch master from origin. redmine@REDMINE-PC ~/AutoCHM (master) $
相关文章推荐
- [github 教程]手把手教你最简单的开源项目托管GitHub入门教程_github 教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 使用mac电脑,对Github客户端的简单操作1----开源项目
- 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- Git使用以及在Github上托管自己的开源项目
- github开源项目的简单使用方法2016年8月15日
- 手把手教你最简单的开源项目托管GitHub入门教程
- 转 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- GitHub入门教程 手把手教你最简单的开源项目托管
- 最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 手把手教你最简单的开源项目托管GitHub入门教程
- 开源项目托管GitHub的使用详述