上一页 1 2 3 4 5 6 ··· 73 下一页
摘要: 原文:http://www.tech126.com/git-fetch-pull/Git中从远程的分支获取最新的版本到本地有这样2个命令:1.git fetch:相当于是从远程获取最新版本到本地,不会自动mergegit fetch origin mastergit log -p master..origin/mastergit merge origin/master 以上命令的含义: 首先从远程的origin的master主分支下载最新的版本到origin/master分支上 然后比较本地的master分支和origin/master分支的差别 最后进行合并 上述过程其实可以用以下更清晰的. 阅读全文
posted @ 2014-03-04 11:09 wangkangluo1 阅读(2143) 评论(0) 推荐(0) 编辑
摘要: git添加本地分支与远程分支对应关系:git branch --set-upstream master origin/mastergit pull远程分支:git checkout -b origin/git删除本地分支与远程分支:delete a local branchgit branch -d the_local_branchremove a remote branch (if you know what you are doing!)git push origin :the_remote_branchgit显示本地与远程所有分支对应关系:For all branches:git br. 阅读全文
posted @ 2014-03-04 11:04 wangkangluo1 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 原文:http://java-er.com/blog/wp-mb-edit/WordPress基本模板文件style.css : CSS(样式表)文件index.php : 主页模板archive.php : Archive/Category模板404.php : 404页面,错误页模板comments.php : 留言/回复模板footer.php : Footer模板header.php : Header模板sidebar.php : 侧栏模板page.php : 内容页(Page)模板single.php : 内容页(Post)模板searchform.php : 搜索表单模板searc 阅读全文
posted @ 2014-03-03 14:19 wangkangluo1 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 参考原文:http://www.vpser.net/opt/webserver-test.htmlwebbench是Linux下的一个网站压力测试工具,最多可以模拟3万个并发连接去测试网站的负载能力。下载地址可以到google搜,我这里给出一个下载地址:http://soft.vpser.net/test/webbench/webbench-1.5.tar.gz这个程序更小,解压后不到50K,呵呵安装非常简单#tar zxvf webbench-1.5.tar.gz#cd webbench-1.5#make && make install会在当前目录生成webbench可执行文 阅读全文
posted @ 2014-03-03 14:12 wangkangluo1 阅读(312) 评论(0) 推荐(0) 编辑
摘要: git config credential.helper storegit config --global credential.helper cache... which tellsgitto keep your password cached in memory for (by default) 15 minutes. You canset a longer timeoutwith:git config --global credential.helper "cache --timeout=3600"windows系统下:Finally, launch a comman 阅读全文
posted @ 2014-03-03 14:10 wangkangluo1 阅读(24576) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://downloadsquad.switched.com/2007/02/01/howto-transfer-your-putty-settings-between-computers/1. Click Start->Run and type "RegEdt32" in the "Open" dialog. Click "Ok"2. One RegEdt32 starts, you'll be presented with an application which looks something li 阅读全文
posted @ 2014-02-21 15:27 wangkangluo1 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.juvenxu.com/2010/11/28/a-successful-git-branching-model/本文中我会展示一种开发模型,一年前该模型就已经被我用在所有的项目中(包括工作中的项目和私有项目),结果是非常成功的。我早就想为此写点东西,可直到现在才有时间。本文不会讲述任何项目的细节,只会涉及到分支策略和发布管理。本文使用Git作为所有源码的版本控制工具。为什么是Git?要全面了解Git与其它集中式版本控制系统相比的优劣,可以参考这个页面。这方面的争论可谓是硝烟弥漫。作为一个开发者,所有这些工具中我最钟情于Git。Git的的确确改变了人们考虑合并及分支的 阅读全文
posted @ 2014-02-13 16:22 wangkangluo1 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 有很多程式於 bash shell 執行, 執行完要自動寄信出去, 但是最近都被 Google 退信, 最好的方法是透過 Gmail 直接寄信.本來是要另外寫隻 script 來做這種事, 剛剛發現 $4 的介紹文, 真是超方便的, 一樣使用原本 shell 的 mail, script 都不需要改, 只要設定設一設即可~原文:http://blog.longwin.com.tw/2009/08/ssmtp-shell-gmail-send-mail-2009/ssmtp 安裝、設定apt-get install ssmtp # 註: 若有安裝 Postfix,Postfix 會被移除.vim 阅读全文
posted @ 2014-02-13 16:18 wangkangluo1 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.ultramegatech.com/2010/10/create-an-upload-progress-bar-with-php-and-jquery/11OCT/1080When it comes to uploading files, users expect visual feedback, usually in the form of a progress bar. The problem is that PHP doesn’t offer a way to track file uploads in progress by default. Fortuna 阅读全文
posted @ 2013-09-17 16:08 wangkangluo1 阅读(1390) 评论(0) 推荐(0) 编辑
摘要: 原文:http://fangxin.blog.51cto.com/1125131/735178Wireshark是一个非常好用的抓包工具,当我们遇到一些和网络相关的问题时,可以通过这个工具进行分析,不过要说明的是,这只是一个工具,用法是非常灵活的,所以今天讲述的内容可能无法直接帮你解决问题,但是只要你有解决问题的思路,学习用这个软件就非常有用了。Wireshark官方下载地址:http://www.wireshark.org/download.html如果记不住,可以在百度中输入Wir就可以看到百度智能匹配的关键词了,选择第一个地址进去下载即可。简单介绍下这个软件的一些常用按钮,因为本人也是接 阅读全文
posted @ 2013-07-31 01:08 wangkangluo1 阅读(846) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 73 下一页