Contents

Git - 版本控制指令

Contents

版本控制指令一些简单记录

过滤命令

git版本过滤配置文件:

1
2
3
4
5
git update-index --assume-unchanged <your files>

example:

git update-index --assume-unchanged common/constant/Init.cnt.php

取消过滤配置

1
2
git update-index --no-assume-unchanged <files>


zsh链接git卡顿

1
git config --global oh-my-zsh.hide-status 1