Chinaunix首页 | 论坛 | 博客
  • 博客访问: 183627
  • 博文数量: 42
  • 博客积分: 2520
  • 博客等级: 少校
  • 技术积分: 440
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-18 09:54
文章分类
文章存档

2011年(1)

2010年(13)

2009年(28)

我的朋友

分类: LINUX

2009-05-18 10:21:15

GIT 使用文档:

http://hi.baidu.com/kula/blog/item/56b4b211f84be77aca80c4c7.html

GIT 使用文档:

           $ sudo apt-get install git-core

GIT 命令补全:

$ head -35 /etc/bash_completion.d/git

$ source /etc/bash_completion

 

GIT 实用配置:

$ git config --global alias.st status
$ git config --global alias.ci commit
$ git config --global alias.co checkout
$ git config --global alias.up '!sh -c "git stash && git pull --rebase && git stash pop'

$ git config --global alias.svnup '!sh -c "git stash && git svn rebase && git stash pop'

$ git config --global color.ui true

$ git config --global color.diff auto
$ git config --global color.status auto
$ git config --global color.branch auto

$ git config --global user.name ""
$ git config --global user.email ""
阅读(1280) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:交叉编译tslib-1.4

给主人留下些什么吧!~~