1分支问题
我在网上的托管环境(github)新建项目的时候有生成readme文件.在本地初始化项目添加git作为项目管理时,填写远程地址一定要以https形式,然后发布会出错,提示
在git命令行好像显示的是
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
这个时候,需要打开命令行.键入
git config branch.master.remote origin git config branch.master.merge refs/heads/master
或者打开config.确保(加入)有以下内容
[branch "master"] remote = origin merge = refs/heads/master
2An error occurred while sending the request.
在命令行下显示为443之类的
原因:癌症患者方校长的问题.
解决方案:确(连)保(的)网(上)络(V)畅(P)通(N)
参考链接:
git push用法和常见问题分析
时间: 2024-12-25 23:30:01