git初始化命令行指引
2024-10-07 05:04:42
Git 全局设置
git config --global user.name "陈耿聪"
git config --global user.email "swain@digitalgd.com.cn"
创建一个新存储库
git clone http://19.15.68.4/szgd_swain/rp-word.git
cd rp-word
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
推送现有文件夹
cd existing_folder
git init
git remote add origin http://19.15.68.4/szgd_swain/rp-word.git
git add .
git commit -m "Initial commit"
git push -u origin master
推送现有的 Git 存储库
cd existing_repo
git remote rename origin old-origin
git remote add origin http://19.15.68.4/szgd_swain/rp-word.git
git push -u origin --all
git push -u origin --tags
最新文章
- iOS 消息推送(APNs) 傻瓜式教程
- php7 httpd 2.4 编译
- Shiro简单配置
- 一些git命令
- 《dive into python3》 笔记摘录
- JSP/ Servlet常见的中文乱码原因
- Asp.net自制模板框架
- 14.8.1 Creating InnoDB Tables 创建InnoDB 表
- js定位navigator.geolocation
- JQUERY1.9学习笔记 之基本过滤器(十二) 根元素选择器
- 【CTF 攻略】CTF比赛中关于zip的总结
- Util6 MIS2.0 (优六信息化管理系统框架)
- Jenkins实现简单的CI功能
- VGA、DVI、HDMI三种视频信号接口
- Java实现AES加密,异常java.security.InvalidKeyException: Illegal key size 的解决
- Linux学习笔记之六————Linux常用命令之系统管理
- Jquery计算时间戳之间的差值,可返回年,月,日,小时等
- PHP ! 非运算符 与 if 判断深入研究
- [转] const T、const T*、T *const、const T&;、const T*&; 的区别
- 近期准备发布我的asp.net框架