执行git push到GitHub时提示waring
Willem Zhang Lv5

解决

1
2
# 执行 git push 但没有指定分支,将 push 所有本地的分支到远程仓库中对应匹配的分支
git config --global push.default matching

simple指的是执行 git push 没有指定分支时,只有当前分支会被 push 到使用 git pull 获取的代码。

链接

https://blog.csdn.net/jrainbow/article/details/19338525

  • Post title:执行git push到GitHub时提示waring
  • Post author:Willem Zhang
  • Create time:2021-05-08 19:35:51
  • Post link:https://ataraxia.top/2021/05/08/执行git-push到GitHub时提示waring/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments