$ git pull /home/bob/myrepo //pull命令是从远端git代码仓取出(git-fetch)修改的代码,然后合并(get-merge)到我的项目中去。“git pull .
基于1个网页-相关网页
git fetch and fast-forwards 抓取与快进
git fetch 拉取而不合并 ; 抓取代码对应 ; 更新本地的分支信息
git fetch -p 清理远程已删除的分支 ; 删除已被删除的远程分支所对应的本地分支
git fetch origin 将本地的远端和远端进行同步
git fetch remote-name 从远程仓库中抓取与拉取
git fetch origin master 从源项目同步代码
One exception is the GEGL library, which requires you to fetch the Git master (unstable) branch to build the GIMP master, instead of the latest stable branch.
一个例外是gegl库,它要求您获取git主(不稳定)分支而不是最新的稳定分支来构建gmip主分支。
To actually retrieve associated file changes after a fetch, you would use either the git pull or git rebase command.
要在fetch之后实际检索相关文件更改,您可以使用git pull或git rebase命令。
应用推荐