创建github上代码仓库,并上传代码
来源:互联网 发布:编程用mac还是windows 编辑:程序博客网 时间:2024/05/21 13:54
1.cd本地项目到你的本地项目根目录下,执行git命令
cd /Users/baoming/Documents/demo
2.执行以下init命令
git init
3.将项目的所有文件添加到仓库中
gitadd .
4.将add的文件commit到仓库
gitcommit -m"demo"
5.在github上创建自己的Repository
6.将本地的仓库关联到github上的代码库
git remote add originhttps://github.com/hanhailong/CustomRatingBar
7.上传代码到github远程仓库
gitpush -u origin master
8.pull一下,执行如下命令
git pull origin master
9.中间可能会让你输入Username和Password,你只要输入github的账号和密码就行了阅读全文
0 0
- 创建github上代码仓库,并上传代码
- Github创建仓库上传代码
- Github创建仓库,上传、克隆代码
- 在GitHub上创建代码仓库
- 在GitHub上创建代码仓库
- 如何在github上创建代码仓库
- Eclipse在github上创建代码仓库
- 如何在 GitHub 上创建代码仓库
- 在Ubuntu上创建Git仓库并上传到GitHub
- Github:在Github上创建自己的代码仓库
- Github:在Github上创建自己的代码仓库
- 【github】上传本地代码仓库
- 上传代码到github仓库
- 上传代码到github代码仓库
- 在Github上创建一个项目代码仓库
- Github 创建仓库并上传项目
- 【git】创建一个新的本地仓库并上传代码
- GitHub 上传本地代码到仓库
- SpringMVC上传文件的三种方式
- 编写一个可以测出电脑是大端模式还是小端模式
- 《Spark快速大数据分析》——读书笔记(5)
- ArrayList遍历方式
- 剑指offer-数组中的逆序对
- 创建github上代码仓库,并上传代码
- STM32中基于DMA的ADC采样实例之MQ-2烟雾传感器
- ACM 记忆化搜索 Function Run Fun & FatMouse and Cheese
- oracle获取一段时间内所有的小时、天、月
- get和post的区别
- python+selenium安装过程出现ImportError: No module named selenium问题
- zookeeper配置
- 分享同事整理的 关于"iOS 无限monkey测试解决方案" 的记录
- 用python写入和查询mysql及注意事项