自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 git技巧:删除在本地有但在远程库中已经不存在的分支

上篇 讲到用$ git remote show origin可以查看远程库的一些信息,及与本地分支的信息。有时候可能遇到如下情况$ git remote show origin* remote origin Fetch URL: ... .git Push URL: ... .git HEAD branch: master Remote branche

2012-12-29 13:07:27 25451

原创 git push 操作

git push 的格式详见 这里。之前 git push 的默认操作是matching:all your branches were sent to the remote as long as there already are branches of the same name over there.在新出的 Git-1.8.0 中提到在下个版本中(注意不是1.8.

2012-12-27 11:36:21 4885

原创 Linux 如何重启 apache

httpd -k restart关键是找到httpd这个文件如果[root@test bin]# httpd restart-bash: httpd: command not found明显是bash在path所指的目录下找不到httpd,试试找到它,然后用绝对路径。比如我们这里是/usr/local/apache2/bin/httpd -k restart

2012-12-27 10:57:12 708

原创 git技巧:综合

查看git版本$ git --versiongit version 1.7.11.msysgit.1查看git所有配置项$ git config -lcore.symlinks=falsecore.autocrlf=truecolor.diff=autocolor.status=autocolor.branch=autocolor.interactive=tr

2012-12-27 10:54:11 1302

转载 Git 1.8.0 改进内容

Git v1.8.0 Release Notes========================Backward compatibility notes----------------------------In the next major release (not *this* one), we will change thebehavior of the "git push"

2012-12-27 10:36:16 1051

原创 git技巧:配置和删除配置

git配置某一项:$ git config alias.co checkoutgit删除某一项配置:$ git config --unset alias.co

2012-12-27 10:34:47 16789

原创 git:更改远程仓库指向 remote url

更改仓库指向:        #仅修改.git/config文件中repositories的url$ git remote set-url origin [email protected]:test/thinkphp.git当然,还有一种方法哦,那就是$ git config -e直接编辑其中origin的url就行了,退出时记得保存[core] reposito

2012-12-27 10:32:39 14630

转载 个性化你的git log

git log命令可一接受一个--pretty选项,来确定输出的格式.如果我们只想输出hash$ git log --pretty=format:"%h"git用各种placeholder来决定各种显示内容:下面内容来自这里%H: commit hash%h: 缩短的commit hash%T: tree hash

2012-12-27 10:28:55 973

stardict-linux最好用的词典

Linux下最常用最好用的词典,deb格式的,用于Ubuntu系统的,stardict官方网站上有各种词典。

2010-11-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除