git 新建项目的一些操作
2024-09-02 11:53:45
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
最新文章
- Sql Server系列:索引基础
- Win10 UWP系列:更新UWP时注意的问题——TargetDeviceFamily
- 认真学习shell的第一天-数学运算
- JS事件冒泡与捕获
- Android Wi-Fi基本操作
- jQuery UI Widget(1.8.1)工作原理--转载
- 在WPF中使用AForge.net控制摄像头拍照
- webpack2 配置 示例
- GitHub开源:升讯威 SQLite 增强组件 Sheng.SQLite.Plus
- C#如何通过属性名称反射出属性本身
- C# 对话框使用整理
- pandas切片使用和column赋值
- 关于Java实现的进制转化(位运算)
- 中大 9095. Islands
- SICP读书笔记 2.1
- 浮动元素垂直居中,bootstrap栅格布局垂直居中
- R语言(自定义函数、循环语句、管道函数)
- requesth获取参数
- atom插件记录
- iPhone 横竖屏切换,全屏播放的三种方式
热门文章
- vps 11步移站步骤笔记
- CLI
- TIOBE 2017 8月编程语言排行榜 后院“硝烟四起”
- python3 百度AI-v3之 人脸对比 &; 人脸检测 &; 在线活体检测 接口
- Ruby笔记
- HTML中的超链接(Hyperlink)
- 安装MongoDB到CentOS 6
- codefroces Round #201.B--Fixed Points
- R_Studio(时序)Apriori算法寻找频繁项集的方法
- sqli-labs(44)