最近使用git pull的时候多次碰见下面的情况: There is no tracking information for the current branch.Please specify which branch you want to merge with.See git-pull(1) for details. git pull <remote> <branch> If you wish to set tracking information for this branc…
最近使用git pull的时候多次碰见下面的情况: There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details. git pull <remote> <branch> If you wish to set tracking information for this bra…
有时候,我们在使用git pull指令想把一个远程分支拉取到本地分支的时候,老是会拉取失败,这一般是因为某种原因,本地分支和远程分支的内容差异无法被git成功识别出来,所以git pull指令什么都不会拉取下来或拉取失败.下面这个帖子的方法可以解决这个问题,强制拉取一个远程分支的所有内容来覆盖本地分支. 问: The scenario is following: A team member is modifying the templates for a website we are worki…