今天在本地的代码push到github上之后,发现在服务器上输入git pull时发现会报错,fatal: This operation must be run in a work tree,改为sudo 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 toset tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
git pull命令的省略今天在本地的代码push到github上之后,发现在服务器上输入git pull时发现会报错,fatal: This operation must be run in a work tree,改为sudo git pull,还是报错There is no tracking information for the current branch.Please specif