![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
文章平均质量分 84
Welkin_qing
个人一些小小的总结和感悟.
展开
-
Git之git pull【warning】Pulling without specifying how to reconcile divergent branches is
文章目录一、报错信息分析二、命令介绍(1) git config(2)`git pull` warning解析1. `pull.ff`2. pull.rebase(3)only、true、false1. only2. true or false三、报警分析三、 解决方法一、报错信息分析warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this me原创 2021-07-28 19:53:29 · 1998 阅读 · 2 评论 -
GIt之相关概念和基本操作理解
文章目录一、git基本概念(1)基本概念入手(2)git命令解析1. `git add`2. `git commit`3. `git reset HEAD`4. `git rm --cached `5. `git checkout ./ git checkout --`6. `git checkout HEAD / git checkout HEAD `二、git基本操作(1)`git pull`(2)`git fetch`一、git基本概念(1)基本概念入手git的基本操作就不介绍了,直接基本概念入原创 2021-07-28 16:09:21 · 195 阅读 · 2 评论 -
git命令使用之记一次事故
文章目录git clean xdf记一次事故git clean xdf使用这个命令之前最好对本地的代码进行push,没有push最好也要add,否则就gg原创 2020-11-06 19:21:11 · 102 阅读 · 0 评论 -
Githug 安装和使用方法
文章目录一、githug安装1. ERROR: While executing gem ... (Gem::FilePermissionError)2. gem executables will not rungithug命令二、通关攻略1. init2. config3. add4. commit5. clone6. clone_to_folder7. ignore8. include9. status10. number_of_files_committed11. rm12. rm_cached13.原创 2020-10-23 17:55:17 · 1587 阅读 · 0 评论 -
创建分支并部署云服务器
文章目录1. 部署本地代码2. 服务器拉取代码1. 部署本地代码下载官方代码到本地 git clone查看分支 git branch如果没有自己的分支就创建 git checkout ***,并切换到自己的分支上git branch 切换分支git initgit add .git commit -m “xxx”git push origin 分支名2. 服务器拉取代码git fetchgit checkout -b 分支名 origin/分支名 【在服务器上创建分支】gi原创 2020-09-08 17:39:52 · 184 阅读 · 0 评论 -
vscode将项目托管到github
1. 首先要有github,并且生成密钥,而且与本地建立连接2. 创建文件gitignore这个文件是项目忽略文件,所以需要填node_modules.idea(webstrome打开之后生成的文件,放的是webstrome相关的配置)同理还有.vscode.gitreadme.md(README.md)LICENSE(从其他的项目中拿过来就是,MIT协议)3. 创建本地仓...原创 2019-01-24 22:35:56 · 1003 阅读 · 0 评论