fatal: The current branch master has multiple upstream branches, refusing to puh. git push error!

git push时报错:
$ git push

fatal: The current branch master has multiple upstream branches, refusing to puh.

措施:
输入
$ git config remote.origin.push HEAD

重新push

$ git push

Enumerating objects: 43, done.
Counting objects: 100% (43/43), done.
Delta compression using up to 2 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (22/22), 1.85 KiB | 472.00 KiB/s, done.
Total 22 (delta 7), reused 0 (delta 0)
To http://git.gag.cn/bigData/DataService.git
   a13667d..a47ba9c  HEAD -> master
Everything up-to-date
Everything up-to-date

成功!

你可能感兴趣的:(报错总结,git)