报错信息如下:

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 branch you can do so with:

    git branch --set-upstream-to=origin/<branch> master

解决方法:

git branch --set-upstream-to=origin/master  master 

这是因为没有指定分支到git仓库上,想要使用git pull 和 git push命令来操作就要设置一下分支的信息。