git创建新的分支
2015-08-12 16:11
453 查看
配置全局git
克隆仓库
创建新的分支
将修改的内容提交到新分支中
# git config --global user.name test # git config --global user.email test@email.com
克隆仓库
# git clone https://github.com/linglong0820/kilo
创建新的分支
# git checkout -b branch-name # git checkout 默认已经存在于新分支中
将修改的内容提交到新分支中
# git add * # git commit -m 'new branch' # git push origin branch-name
相关文章推荐
- Cookie && Session && Token
- 2016校招华为机试题目回忆
- 堆内存过大 Grow heap (frag case) to 39.580MB for 2560016-byte allocation
- hdu1754 I Hate It (线段树 更新点的值)
- Java String对象的经典问题
- Android 标签控件
- 设计模式之策略模式
- 移动端尺寸基础知识
- 【翻译】Ext JS最新技巧――2015-8-11
- 清除SQL2005数据库日志文件
- 利用sqoop 将 hive/hdfs数据 导入 Oracle中
- Activity设置切换动画时黑屏问题的解决
- [Android Memory] 内存分析工具 MAT 的使用
- Windows下命令行下启动ORACLE服务
- iOS开发-Day23-OC设计模式&代码块
- 多年以来,你可找到努力的动力?
- Android—No orientation specified, and the default is horizontal.
- POJ 1258 Agri-Net 最小生成树 prim && kruskal
- 鞍点计算
- POJ 1182 食物链