Code添加到git服务器
2016-02-25 20:33
169 查看
$cp ~/code/* ~/project
$cd ~/project
$git init
$git add .
$git commit -m 'initial commit'
$git clone --bare project
$rm project/ -rf
在pc上安装window版本git,
$git clone git@192.168.252.5:~/project.git
git status git diff git branch git add . git commit -m “log” git push
。。。。OK!
$cd ~/project
$git init
$git add .
$git commit -m 'initial commit'
$git clone --bare project
$rm project/ -rf
在pc上安装window版本git,
$git clone git@192.168.252.5:~/project.git
git status git diff git branch git add . git commit -m “log” git push
。。。。OK!
相关文章推荐
- 大型网站架构系列:负载均衡详解(4)
- TSP问题 动态规划实现
- 每日一练——2016.2.25
- bzoj1050 旅行
- hihoCoser(#1149 : 回文字符序列)
- LightOJ 1259 Goldbach`s Conjecture(数论)
- eclipse 常用插件
- 配置文件的写法
- Java 中带包的类的编译与执行
- PHP内核探索之变量(2)-理解引用
- 大型网站架构系列:负载均衡详解(3)
- Translucent System Bars-4.4新特性
- OpenCV实践之路——TrackBar调整图像的亮度和对比度(OpenCV1和OpenCV2两种版本)
- C语言运算优先级
- JVM结构、GC工作机制详解
- SetInterval()与setTimeout()的区别
- 井字棋C源码
- 大型网站架构系列:负载均衡详解(2)
- Chapter 4、流程控制(二)---循环语句 (25th,Feb)
- 第一个只出现一次的字符位置