how to check unsolved conflicts file list in git merge?…
Ref:  check whether a file or directory First, make sure the path exists by using: new File(path).exists(); Then check whether it a directory using: new File(path).isDirectory(); Similary,check whether it a file by using: new File(path).isFile();…
设置两台glusterfs服务器主机名分别为gfs1,gfs2 设置好glusterfs挂载不成功提示如下 Mount failed. Please check the log file for more details. 尝试多种解决办法未果,后来发现其他主机可以正常挂载,修改hosts即可正常 因为是域控制器环境,原hosts设置ip指向为gfs1 解决办法,同时设置指向为 gfs1+域控制器名称 例如 10.1.1.145 gfs1 gfs1.abc.net.cn glusterfs正常挂…
The problem is in you config file. You are mixing two concepts with some incorrect syntax. The <assembly... /> and <namespace ... /> nodes provide an assembly and namespace search order when your <register ... /> node contains a type tha…
查找资料 参考 http://blog.51cto.com/16769017/1878451 解决方法: 在两个从库上开启二进制日志即可(花了 一天时间,找不到解决方法,最后还是靠自己的理解及测试解决的,骄傲!!)具体配置不在贴上来了.   实际配置: mysql master 上: cat /etc/my.cnf log-bin=weifeng1 server_id = socket = /tmp/mysql.sock binlog-do-db = db1 slave 上面: cat /etc…
先看一下unity的配置信息 <unity> <typeAliases> <typeAlias alias="IDatabase" type="WzzApi.Db.DataBase.IDatabase,WzzApi.Db.DataBase" /> <typeAlias alias="SqlServer" type="WzzApi.Db.DataBase.Sqlserver.Database,Wz…
It can be helpful to see the changes between two sets of code; git diff lets us do this by comparing two Git references and outputting the differences between them. In this lesson, we show how to use git diff along with the --stat, --cached, HEAD, or…
执行git checkout -- . error: unable to write file mobile/manifest.jsonfatal: unable to write new index file 实际原因:没有足够磁盘空间写入报错,删除部分文件节省空间即可.…
参考书籍:     <Pro Git>中文版.pdf   git init           // 建立一个git仓库, 本地目录为工作目录, .git目录是中央数据目录 git init --bare    // 建立一个git裸库,本地目录为中央数据目录   git clone /home/git/test.git    // 同一机器,直接目录clone, 可指定clone后名称 git clone ssh://cxt@192.168.3.254/home/git/test.git  …
分布式版本控制系统Git 是一套内容寻址文件系统,从核心上来看不过是简单地存储键值对.一: git 本地clone 一个仓库    1. 直接clone一个仓库:        $: git clone https://github.com/lmh2072005/gitStudy.git    2. 另外一种clone方式:        # 创建目录初始化本地仓库        $: mkdir gitStudy && cd gitStudy        $: git init 如果不…