xixigiggling's 博客

随手记录,希望回过头的时候仍有惊喜。

首页 随笔 关于

分类 linux 下的文章

linux和git命令记录

  • 作者: xixigiggling
  • 时间: 2021-02-18
  • 分类: linux
  • 评论

bash命令

cat /xxx/file       # 查看文件
touch /xxx/file     # 创建文件
du -sh /xxx/path    # 查看文件占据空间

git记录

全局设置:

git config --list                      # 查看
git config --global user.name "xxx"    # 设置
git config --global --unset user.name  # 删除

合并之后会出现冲突,但是此时不想解决,想放弃合并:

git merge --abort

最新文章

  • 坐在车里的感悟
  • 【mpvue源码阅读】createMP为什么需要额外暴露
  • linux和git命令记录
  • v-append解析
  • 踩坑介绍
  • 百度网盘web端,背景图的transform效果
  • React简单使用总结
  • 移动端1px/100vh/滚动穿透问题
  • 记form表单中button默认type导致每次提交表单时刷新页面
  • String.prototype.replace()方法的新认识

最近回复

分类

  • JavaScript
  • CSS
  • Vue
  • React
  • 项目的一些探索和发现
  • linux
  • Node
  • Http
  • balabala
  • 小程序相关

归档

  • April 2025
  • April 2021
  • February 2021
  • December 2020
  • July 2020
  • January 2020
  • December 2019
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018

其它

  • 登录
  • 文章 RSS
  • 评论 RSS
  • Typecho
© 2025 xixigiggling's 博客.湘ICP备2021000404号 由 Typecho 强力驱动.