git的一些tip

mac2022-06-30  76

取消跟踪:git update-index –assume-unchanged path/to/file

跟踪回来,执行:git update-index –no-assume-unchanged path/to/file

不知道git add行不行

 

撤销本地更改git reset --hard

还有一种可以暂存本地更改的

 

转载于:https://www.cnblogs.com/dablyo/p/11362170.html

最新回复(0)