git如何删除本地所有未提交的更改
2024-08-29 13:38:21
stash很好用,至少不会影响 .gitignore 里面的不跟踪的文件:
git add . && git stash && git stash drop
======END=====
最新文章
- Linux Cmd Tool 系列之—history &; search command history
- sqoop笔记
- 使用icon替换你的网页图标(转)
- 203. Segment Tree Modify
- C++中使用多线程
- 【DataStructure In Python】Python模拟二叉树
- yii2 gii页面404和debug调试栏无法显示解决方法
- canvas仿黑客帝国的字符下落
- 转:java泛型
- libevent和libcurl实现http和https服务器 cJSON使用
- 通俗易懂--岭回归(L2)、lasso回归(L1)、ElasticNet讲解(算法+案例)
- 通过this()调用有参构造方法
- git 提交报错 : The file will have its original line endings in your working directory.
- Java工程师学习指南 入门篇
- SDOI2018IIIDX
- 无责任Windows Azure SDK .NET开发入门(二):使用Azure AD 进行身份验证
- 2018.07.08 NOIP模拟 ABCD(背包)
- BZOJ 2466 [中山市选2009]树(高斯消元)
- liunx下误删除/var目录下的empty文件,导致ssh连接不上
- 利用html实现类似于word自动生成的目录的效果