git上传本地项目
来源:互联网 发布:淘宝杂货铺好做吗 编辑:程序博客网 时间:2024/06/08 05:36
使用此选项创建的项目,多数情况是用户已经在本地有了一个项目,想把此项目变成使用Git管理。
$ 进入此项目所在文件夹$ git init$ git add .$ git commit -m “first commit”$ git remote add origin <项目url, 如git@code.csdn.net:xxx/xxx.git>$ git push -u origin master
例如
git config --global user.name "Your Name Here"
# 设置Git提交时的默认用户名,推荐使用本站用户名:乔志勇
git config --global user.email "your_email@example.com"
# 设置Git提交时的默认邮箱,推荐使用本站注册邮箱:qzyqzy10@126.com
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@code.csdn.net:qq_16605855/spring_mvc.git
git push -u origin master
阅读全文
0 0
- git上传本地项目
- git 本地项目上传
- git上传本地项目
- git bash 本地项目上传
- 上传本地项目到git
- git 上传本地项目问题
- GIt上传本地项目方法
- Git 上传本地项目到Git@OSC
- git/github轻松上传本地项目
- Intellij IDEA 上传本地项目到Git
- git 将本地项目上传到github
- git/github轻松上传本地项目
- 使用git和github上传本地项目
- git上传本地项目到github
- 使用git和github上传本地项目
- 使用Git上传本地项目到oschina
- Github之使用Git上传本地项目
- 上传本地项目到git.oschina.net
- 暂存
- Java初始化顺序总结及其程序执行过程图- 静态变量、静态代码块、成员变量、构造函数
- KVO的实现原理与具体应用
- Android 性能优化(二)
- USACO 虫洞
- git上传本地项目
- LeetCode: 4 Sum
- 好用常用的排序算法
- 【PAT甲级】1069. The Black Hole of Numbers (20)
- Android防止重复点击打开多个页面
- 1.6 实战:自己编译JDK
- 教你轻松面对工作总结
- JavaScript中Null与Undefined的区别
- mysqldump 导出表结构及表数据