今天在服务器上git pull是出现以下错误:error: Your local changes to the following files would be overwritten by merge不知道什么原因造成的代码冲突,处理方法如下:如果希望保留生产服务器上所做的改动,仅仅并入新配置项:...
分类:
其他好文 时间:
2014-08-05 13:25:49
阅读次数:
255
首先,查看系统的磁盘代号:
fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physic...
分类:
其他好文 时间:
2014-08-03 20:40:35
阅读次数:
264
如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候, 在发布这个配置文件的时候,会发生代码冲突: error: Your local changes to the following files would be overwritten b...
分类:
其他好文 时间:
2014-07-31 21:22:37
阅读次数:
225
大致思路:1.查看分区状态2.创建分区3.重新加载分区表4.格式化分区5.挂载分区到目录查看当前分区状态:[root@localhost~]#fdisk-cul
Disk/dev/sda:21.5GB,21474836480bytes
255heads,63sectors/track,2610cylinders,total41943040sectors
Units=sectorsof1*512=512bytes
Secto..
分类:
其他好文 时间:
2014-07-31 21:13:37
阅读次数:
311
angularjs 使用ng-repeat报错
{{word}}
[ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys
发现是因为相同的内容重复引起,解决方案
{{word}}
在ng-...
分类:
其他好文 时间:
2014-07-31 13:34:04
阅读次数:
199
Solr各版本下载地址:http://archive.apache.org/dist/lucene/solr/下载的包里面的CHANGES.txt有当前版本需要的说明。序号Solr版本JDK版本1solr-4.7.2Java1.6VMorlater2solr-4.8.1Java1.7VMorlater3solr-4.9.0Java1.7VMorlater
分类:
其他好文 时间:
2014-07-29 15:59:49
阅读次数:
317
大纲1.添加一块超过2TB硬盘2.尝试fdisk对超过2TB分区3.使用parted分区1.可以看到添加一块硬盘超过2T[root@mail~]#fdisk-lDisk/dev/sda:21.4GB,21474836480bytes255heads,63sectors/track,2610cylindersUnits=cylindersof16065*512=8225280bytesDeviceBootStartEndBlocksIdSyste..
分类:
系统相关 时间:
2014-07-29 15:30:49
阅读次数:
295
??
Description
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read ...
分类:
其他好文 时间:
2014-07-29 13:22:46
阅读次数:
212
git在pull时,出现这种错误的时候,可能很多人进进行stash,相关stash的请看:Error
pulling origin: error: Your local changes to the following files would be overwritten by merge
但是发现stash后还是会出现:Error
pulling origin: error: The ...
Cheapest PalindromeTime Limit: 2000MSMemory Limit: 65536K Total Submissions: 5627Accepted: 2734 DescriptionKeeping track of all the cows can be a tric...
分类:
其他好文 时间:
2014-07-29 11:23:06
阅读次数:
272