赞
踩
今天,当笔者和往常一样想往gitee仓库推送代码时,遇到了一个小问题。git add . ,git commit ...,git push报错。fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin master To have this happen automatically for branches without a tracking upstream, see 'push.autoSetupRemote' in 'git help config'
网上查了很多方法都没有解决,因为之前明明是可以的呀,我也没有做什么修改。
最后发现,这几个原来是不一样的,最后一个文件路径下才可以成功推送
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。