博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
gitlab新建Project后常用提交方式
阅读量:4098 次
发布时间:2019-05-25

本文共 666 字,大约阅读时间需要 2 分钟。

  • Git global setup 全局设置
git config --global user.name "youname"git config --global user.email "youemail@163.com"
  • Create a new repository 创建仓库
cd sip-custom-fronttouch README.mdgit add README.mdgit commit -m "add README"git push -u origin master
  • Push an existing folder 提交已经存在的文件
cd existing_foldergit initgit remote add origin http://gitlab.gzmpc.com/zxj_fb/sip-custom-front.gitgit add .git commit -m "Initial commit"git push -u origin master
  • Push an existing Git repository 提交一个已有其他git提交记录的仓库
cd existing_repogit remote rename origin old-origingit remote add origin http://gitlab.youcompany.com/youname/you-project.gitgit push -u origin --allgit push -u origin --tags

转载地址:http://sfqii.baihongyu.com/

你可能感兴趣的文章
Koa 2 初体验(二)
查看>>
Koa2框架原理解析和实现
查看>>
vue源码系列文章good
查看>>
你不知道的Virtual DOM
查看>>
VUE面试题总结
查看>>
【TINY4412】U-BOOT移植笔记:(7)SDRAM驱动
查看>>
C++模板
查看>>
【C#】如何实现一个迭代器
查看>>
【C#】利用Conditional属性完成编译忽略
查看>>
【Unity】微信登录后将头像存为bytes,将bytes读取成sprite图片
查看>>
【Unity】使用GPS定位经纬度
查看>>
如何高效学习动态规划?
查看>>
动态规划法(六)鸡蛋掉落问题(一)
查看>>
算法数据结构 思维导图学习系列(1)- 数据结构 8种数据结构 数组(Array)链表(Linked List)队列(Queue)栈(Stack)树(Tree)散列表(Hash)堆(Heap)图
查看>>
【机器学习】机器学习系统SysML 阅读表
查看>>
最小费用流 Bellman-Ford与Dijkstra 模板
查看>>
实现高性能纠删码引擎 | 纠删码技术详解(下)
查看>>
scala(1)----windows环境下安装scala以及idea开发环境下配置scala
查看>>
zookeeper(3)---zookeeper API的简单使用(增删改查操作)
查看>>
zookeeper(4)---监听器Watcher
查看>>