Push local non-git project to remote github repo
2016-04-08 13:30
423 查看
Initiate a local repository in project directory
Commit local files to local repo
Add remote repo
Push local repo master branch to remote master branch
$ git init
Commit local files to local repo
Add remote repo
git remote add origin *[your remote repo url]*
Push local repo master branch to remote master branch
git push origin master
相关文章推荐
- 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
- Item 01:视C++为一个语言联邦
- Java异常处理:java.lang.ClassCastException: JSON keys must be strings
- scrollview 滑动到指定位置,在java代码中设置控件自适应
- Java基础学习第六天——二维数组与面向对象入门
- php func_get_args
- lua中.和:的区别
- Spring事件驱动
- Java IO:FileInputStream和FileOutputStream使用详解及源码分析
- java-eclipse-创建maven项目
- Springmvc精简教程(1)
- php生成二维码
- C++ 编译时'setw' was not declared in this scope问题
- java语法小结5
- Java volatile,transient关键字使用小记
- 【python小练】0011题
- Python实现一元二次方程的定义是:ax2 + bx + c = 0 请编写一个函数,返回一元二次方程的解。
- qt stylesheet
- (1)c++基础知识
- 类型转换总结