git 相关的操作

1. git auto sync from the origin and remove any remote-tracking branchs  which no longer exist in the remote

git fetch -prune    or git pull -prune


2. what the different between git pull and git fetch?

git pull = do git fetch and fellowed  do git merge.

git fetch just update the remote-tracking in your local. do not merge.


你可能感兴趣的:(linux)