摘要: 1.git fetch 跟git pull差别是前者不会和本地直接merge code,而后者会,所以git fetch更安全git fetch origin master:tmpgit diff tmpgit merge tmp2.放弃本地修改,用远程服务器codegit reset --hardgit pullgit rest 是针对版本而言,如果是针对文件,则gitcheckoutHEAD文件名3.保留本地修改git stashgit pullgit stash pop使用git diff -w +文件名 来确认代码自动合并的情况. 阅读全文
posted @ 2013-12-09 09:11 c2ye 阅读(199) 评论(0) 推荐(0) 编辑
摘要: @media (min-width:480px) and (max-width: 767px)@media (min-width:768px) and (max-width: 992px)@media (max-width: 479px)@media all and (-webkit-min-device-pixel-ratio: 2), all and (-moz-min-device-pixel-ratio: 1.5), all and (min-device-pixel-ratio: 2), all and (-o-min-device-pixel-ratio: 2/1)@media ( 阅读全文
posted @ 2013-12-09 09:08 c2ye 阅读(266) 评论(0) 推荐(0) 编辑