
git
scorpio_j
时间见证成长
展开
-
【git push报错】:See the ‘Note about fast-forwards‘ in ‘git push --help‘ for details
报错See the ‘Note about fast-forwards’ in ‘git push --help’ for details.分析是因为本地仓库 和 远程仓库不是同一个仓库导致push失败原先自己的操作显示在自己的本地 git init 一个本地仓库。然后进行远程的push 导致出错(虽然远程的名是一样 但是有问题)解决git clone [https]先去把远程的仓库clone下来。在这个文件中进行就好了。...原创 2021-03-13 18:18:34 · 13377 阅读 · 0 评论 -
pycharm上使用 gitee进行版本控制
1. 安装插件 gitee2.重启Pycharm,之后可以看到3.clone远程仓库前提是在gitee上已经创建好了自己的仓库git clone [url]4.复制或者直接使用若是还没有开始自己的代码。那就直接在clone下来的文件夹下开展就好想要同步已经存在的项目。则将以下三个文件copy到自己项目的文件夹下不这么做 可能会push失败5.add commit push未被add的,是红色的commit是:绿色的push和被设置ignore的文件是:原创 2021-03-13 18:02:35 · 489 阅读 · 0 评论 -
git(1)问题:github fatal: unable to access '': Could not resolve host解决
问题一:首先试试ping github.com 是否ping的通。ping不通的话,到C:\Windows\System32\drivers\etc,修改hosts文件 添加 192.30.253.112 github.com之后,继续git push -u origin master问题二:这是md文件的问题,可以先整合一下$ git pull --rebase o...原创 2020-04-16 19:23:10 · 6082 阅读 · 0 评论