update-index verse
This commit is contained in:
parent
08cccb0d3d
commit
32206beb6a
|
@ -120,3 +120,6 @@ git remote prune origin
|
|||
|
||||
# 本地一个文件不再更新到远程,可以达到本地和远程不一样的效果
|
||||
git update-index --skip-worktree path/to/your/file.txt
|
||||
|
||||
# 反向操作
|
||||
git update-index --no-skip-worktree path
|
||||
|
|
Loading…
Reference in New Issue