答:示例如下: fatal: Pathspec 'Vundle.vim/autoload/vundle.vim' is in submodule '.vim/bundle/Vundle.vim' 解决办法: git rm -rf --cached .vim/bundle/Vundle.vim…
easyswoole项目的 vendor/easyswoole/socket/这个项目怎么都无法添加到git目录里面. 报错: Administrator@PhpServer MINGW64 /z/wwwroot/dating (develop)$ git add ./vendor/easyswoole/socket/*fatal: Pathspec './vendor/easyswoole/socket/composer.json' is in submodule 'vendor/easysw…
今天在使用git的时候,发现无论怎么改.gitignore文件都无法添加文件到版本控制,最后发现是缓存的原因,需要删除缓存再重新add git rm -rf --cached xxx…
使用git将本地项目添加到远程仓库报以下错误 $ git push -u origin master fatal: The remote end hung up unexpectedly | 11.00 KiB/s 这句显示 远程结束挂起 |11kb/s 应该是墙的原因导致网速太慢,且项目有点大上传不上 解决办法:FQ 或者等等重新在push一遍 就没问题了…
本地初始化的项目 与 github 版本不一致, 导致无法提交 $ git pull origin master 来自 https://github.com/itaken/python-login-demo * branch master -> FETCH_HEAD fatal: 拒绝合并无关的历史 解决方法 在pull 时候, 添加–allow-unrelated-histories参数 即可. $ git pull origin master --allow-unrelated-histor…
出现是问题: git提交代码是出现fatal: Path 'directory/file' is in submodule 'directory''错误 Removing the directory from git and adding it again worked for me: git rm --cached directory git add directory This works if you purposefully removed the .git directory beca…
xcode6 framework missing submodule xxx 警告 从xcode6开始,iOS可以直接创建生成framework了 如: 创建 framework 项目,TFKit.framework 则 会自动生成TFKit.h 然后我们再添加一些自已的类,并对外提供 TFA.h,TFB.h 那么需要先在 TFKit.h 里面 #import <TFKit/TFA.h> #import <TFKit/TFB.h> 最后在build 生成 TFKit.framewo…
在研究git的时候,随便输了个 git remote add origin xxx; 然后再真正add 远程仓库的时候,报了git fatal: remote origin already exists.的错误 学习源头:https://blog.csdn.net/top_code/article/details/50381432 解决方法: git remote rm origin 然后再 git remote add origin 你的远程git地址 1.先删除远程 Git 仓库 $ git…
默认的Struts.xml中是这样的 <constant name="struts.enable.DynamicMethodInvocation" value="false" /> There is no Action mapped for namespace [/xxx] and action name [xxx!yyy] associated with context path [xxx] 这样我们在地址栏输入感叹号动态调用方法的时候会出错,我们只需…
Log4j报错: log4j:ERROR Failed to rename [/log/xxx.log] to [/log/xxx.log.2016-11-23.log] google了一下发现是个bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=29726 I checked myself, and found it was solved only in 1.3 for DRFA. For RFA, it has been solved i…
无法为数据库 XXX 中的对象XXX 分配空间,因为 'PRIMARY' 文件组已满.请删除不需要的文件.删除文件组中的对象.将其他文件添加到文件组或为文件组中的现有文件启用自动增长,以便增加可用磁盘空间. 原因是装了mssql express 2005 版本,该版本最大的限制是4G 百度说明: 1.数据库的大小限制:SQL Server 2005 Express 和SQL Server 2008 Express 数据库的大小限制最大为 4GB,最新版本的SQL Server 2008 R2 E…
mysql错误日志中,发现大量以下类似信息:(mysql 5.7.18) [Note] Aborted connection 1055898 to db: 'xxx' user: 'yyy' host: 'xxx.xxx.xxx.xxx' (Got timeout reading communication packets) 这种Aborted connection情况下,mysql会增加aborted_clients状态计数器的值.这也意味着以下几个问题: (1)客户端正常连接,但是被异常结束…
运行python程序时,也许会出现这样的错误:AttributeError: module ‘xxx’ has no attribute ‘xxx’: 解决该错误有两种方法 1.手动安装该模块 2.检查文件名 这个方式看起来很傻,但是却是新手经常会犯的错,原因是因为自己的文件名称和要使用的模块重名了,只需要更改文件名即可.  …
windows10环境下QtCreator中出现skipping incompatible xxx when searching for xxx 我再QtCreator中想导入一个外部库时,他提示不匹配 出现这种问题是因为QtCreator 和 MinGW 其中一个是32位 ,而另一个是64位, 将两者统一后便不会出现该问题!!!…
[参考资料] https://stackoverflow.com/questions/8329485/unable-to-find-remote-helper-for-https-during-git-clone 问题现象: git clone https://xxxxx 报错:git fatal: Unable to find remote helper for 'https' 一般都是因为缺少了 curl-devel. 所以,可以先安装 curl-devel,然后重新编译安装git $ yu…
Can not set int field xxx to java.lang.Long 错误 这个错误其实是因为Java程序和MySQL表中字段的属性匹配不一致 我的报错是Can not set java.lang.Integer field Stu.Fruit.pojp.Fruit.price to java.lang.String,然后我把数据库中的varchar改成int就可以了…
Internal Compiler Error VS 2015 Update1 VS2015 Update1 编译OpenMesh的额代码时发生错误 fatal error c1001 编译器中发生内部错误 OpenMesh6.3 (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\special.c', line 6211) 1> To work around this problem, try simplifying or changin…
git commit 出现 changes not staged for commit 错误 修复: 参考:http://stackoverflow.com/questions/8488887/git-error-changes-not-staged-for-commit…
自己编译boost的库文件时遇到这个错误的,大概报错情况如下:  mp_defer.hpp<50>:fatal error C1001:编译器中发生内部错误.  1> 要解决此问题,请尝试简化或更改上面所列位置附近的程序.  1> 请选择 Visual C++  1> "帮助"菜单上的"技术支持"命令,或打开技术支持帮助文件来获得详细信息. 查找解决方法时发现有人说这叫"人品错误",大概是vs2013的一个bug吧,…
git如何删除远程仓库的某次错误提交 如果远程仓库,能ssh访问,那就跟本地没什么区别   reset命令有3种方式   git reset --mixed 此为默认方式,不带任何参数的git reset,就是这种方式,它回退到某个版本,只保留源码,回退commit和stage信息   git reset --soft 回退到某个版本, 只回退了commit的信息,不会恢复stage(如果还要提交,直接commit即可)   git reset --hard      彻底回退到某个版本, 本地…
执行git checkout -- . error: unable to write file mobile/manifest.jsonfatal: unable to write new index file 实际原因:没有足够磁盘空间写入报错,删除部分文件节省空间即可.…
前言 前两天因为升级了Git导致git提交拉取的时候都提示下面这个异常,然后经过一番折腾以后终于把这个问题解决了.但是今天我升级了下Visual Studio 2022将其升级到了17.1.3版本然后又出现了这个问题,奇怪的是我使用VS 2019没有问题(VS2019没有升级),然后使用Git Bash也是可以正常拉取提交.唯独使用VS 2022就提示下面的异常(真的是问题天天有,四月特别多): Unable to negotiate with xx.xxx.xxxx port 22: no m…
在生成DLL的时候报这个错, 生成不了DLL 检查生成DLL的路径是否有其他程序在使用... 或者把杀毒软件关了试试...…
自己做实验: 在github上建一个版本库B作为submoule: https://github.com/FrankKuiFang/testGit_submodule, 尝试将该版本库作为另一个库A (https://github.com/FrankKuiFang/TestGit) 的submodule. 1)将A克隆到本地,使用master分支. 执行  git submodule add https://github.com/FrankKuiFang/testGit_submodule.gi…
在看书 FlaskWeb开发:基于Python的Web应用开发实战 时,下载完源码后 git clone https://github.com/miguelgrinberg/flasky.git 试着 切换到 提交历史 1a, $ git checkout 1a,出现error: fatal: Not a git repository (or any of the parent directories): .git 这个提示表明现在不在一个git repository目录下,需要切换到flask…
一.首先,查看Class类中的forName方法,可以发现有如下三个方法,但是我们通常用的是只有一个参数的方法. 简单介绍一下这三个方法: 第一个方法Class.forName("xxx")等同于第二个方法Class.forName("xxx",true,this.getClass().getClassLoader()),第二个布尔类型的参数表示装载该类的时候,是否初始化该类,即是否调用类中的static静态块函数及初始化静态成员变量: 第三个方法forName0是…
有时候在提交的时候,中间提交出错,导致有文件被lock,所以会报下面的错误: fatal: Unable to create ‘/msg/.git/index.lock’: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is…
今天遇到个小功能,要验证某个英文选项是否正确,例如:A)accumulate B)circling C)communities  D)competition  E)domestic F)financially G)formally  H)gather  I)households  J)recession  K)reported L)reviewed M)serves N)surrounding O)survive 要求:1.必须按顺序排下来,ABCD.... 2.选项后代英文) 符合格式则返回t…
正在使用git  init --bare 它的成立裸仓库后,,正在使用git 其他命令将出现fatal:This operation must be run in a work tree 问题,途径: 第一touch readme 当你创建一个光秃秃的仓库,因为,不产生readme 文件.情况的出现不能提交. 然后,它可以使用git init,git add readme git commit和其他命令. 版权声明:本文博客原创文章,博客,未经同意,不得转载.…
问题重现 新建的仓库,再把本地的代码往上push的时候Git提示 $ fatal: I don't handle protocol 'https' 问题分析 Git是支持https的,这点毋庸置疑,所以肯定不是Git的问题. 那问题可能出现在自己进行remote add的时候可能是Github仓库的地址出了问题. 解决方法 删除错误的Git仓库地址,重新添加即可 $ git remote rm origin $ git remote add origin yourURL…