2022年4月18日

详解git commit --amend 用法

摘要: 详解git commit --amend 用法 https://www.jb51.net/article/192486.htm https://blog.csdn.net/ZhongGuoRenMei/article/details/109137977?spm=1001.2101.3001.6650 阅读全文

posted @ 2022-04-18 14:53 lh03061238 阅读(311) 评论(0) 推荐(0) 编辑

git的撤销操作:reset、checkout和revert

摘要: https://segmentfault.com/a/1190000009126517 https://blog.csdn.net/weixin_44815943/article/details/113527031 https://blog.csdn.net/weixin_44815943/arti 阅读全文

posted @ 2022-04-18 11:43 lh03061238 阅读(118) 评论(0) 推荐(0) 编辑

git reset HEAD 与 git reset --hard HEAD的区别 天地逍遥

摘要: https://www.jianshu.com/p/aeb50b94e6c0 https://www.jianshu.com/p/c2ec5f06cf1a https://blog.csdn.net/weixin_34217711/article/details/89325384?spm=1001. 阅读全文

posted @ 2022-04-18 11:37 lh03061238 阅读(26) 评论(0) 推荐(0) 编辑

git add -A 和 git add . 的区别详解

摘要: 参考: https://www.jb51.net/article/191458.htm 阅读全文

posted @ 2022-04-18 11:36 lh03061238 阅读(20) 评论(0) 推荐(0) 编辑

Vim格Vim格式化代码功能——gg=G式化代码功能——gg=G

摘要: 参考:https://i.cnblogs.com/posts/edit 在nomal模式输入: (1) gg=G 是一个自动缩进的命令 (在命令状态下直接输入,不需要输入冒号),gg是文件首,G是文件尾,所以 gg=G 是整理全部代码。(2) == 整理当行,加行数整理多行。(3) ={ 或者 =i 阅读全文

posted @ 2022-04-18 11:27 lh03061238 阅读(418) 评论(0) 推荐(0) 编辑

导航