commit by magit in emacs@2022-05-28 22:27:56
This commit is contained in:
parent
fb72de88a2
commit
08cccb0d3d
|
@ -117,3 +117,6 @@ git show commit # 更优
|
|||
git gc --prune=now
|
||||
# 删除所有远端在orgin下所有无用的分支
|
||||
git remote prune origin
|
||||
|
||||
# 本地一个文件不再更新到远程,可以达到本地和远程不一样的效果
|
||||
git update-index --skip-worktree path/to/your/file.txt
|
||||
|
|
Loading…
Reference in New Issue