Blogger Information
Blog 81
fans 1
comment 0
visits 124107
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
git push文件到远程服务器失败,git pull抓取也失败。
有什么是忘不了的的博客
Original
628 people have browsed it

第一步:git push origin dev

        失败,报错:表示本地文件与远程服务器上的文件不一致。

第二步:git pull

        失败,那我抓取一份线上的到本地。提示 :当前分支没有跟踪信息。请指定要与哪个分支合并

第三步:git branch --set-upstream-to=origin/master master

第四步:git pull

第五步:git push origin dev

完工。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post