Is a git fetch necessary before git subtree pull? -
i in reference following article: git subtree blog entry.
amongst other, following commands listed:
git remote add -f tpope-vim-surround https://bitbucket.org/vim-plugins-mirror/vim-surround.git git subtree add --prefix .vim/bundle/tpope-vim-surround tpope-vim-surround master --squash git fetch tpope-vim-surround master git subtree pull --prefix .vim/bundle/tpope-vim-surround tpope-vim-surround master --squash my question is:
what need
git fetch tpope-vim-surround master?
not redundant git pull listed next line below?
i believe fixed recently, older versions of git subtree required branch correct name present locally before fetch remotely, or fail "foo not refer commit."
so it's compatibility that.
Comments
Post a Comment