Command line instructions

Git global setup
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"
Create a new repository
git clone git@gitlab.sweetsunnyflower.com:root/laravel.git
cd laravel
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin git@gitlab.sweetsunnyflower.com:root/laravel.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.sweetsunnyflower.com:root/laravel.git
git push -u origin --all
git push -u origin --tags

最新文章

  1. Sql Server系列:索引基础
  2. Win10 UWP系列:更新UWP时注意的问题——TargetDeviceFamily
  3. 认真学习shell的第一天-数学运算
  4. JS事件冒泡与捕获
  5. Android Wi-Fi基本操作
  6. jQuery UI Widget(1.8.1)工作原理--转载
  7. 在WPF中使用AForge.net控制摄像头拍照
  8. webpack2 配置 示例
  9. GitHub开源:升讯威 SQLite 增强组件 Sheng.SQLite.Plus
  10. C#如何通过属性名称反射出属性本身
  11. C# 对话框使用整理
  12. pandas切片使用和column赋值
  13. 关于Java实现的进制转化(位运算)
  14. 中大 9095. Islands
  15. SICP读书笔记 2.1
  16. 浮动元素垂直居中,bootstrap栅格布局垂直居中
  17. R语言(自定义函数、循环语句、管道函数)
  18. requesth获取参数
  19. atom插件记录
  20. iPhone 横竖屏切换,全屏播放的三种方式

热门文章

  1. vps 11步移站步骤笔记
  2. CLI
  3. TIOBE 2017 8月编程语言排行榜 后院“硝烟四起”
  4. python3 百度AI-v3之 人脸对比 & 人脸检测 & 在线活体检测 接口
  5. Ruby笔记
  6. HTML中的超链接(Hyperlink)
  7. 安装MongoDB到CentOS 6
  8. codefroces Round #201.B--Fixed Points
  9. R_Studio(时序)Apriori算法寻找频繁项集的方法
  10. sqli-labs(44)