Ubuntu10.04 Git安装

Ubuntu10.04 Git安装

1#安装git核心

sudo apt-get install git-core

2#安装git gui

sudo apt-get install git-gui

3#安装git doc

sudo apt-get install git-doc

4#安装git-svn

sudo apt-get install git-svn

5#安装git-cvs

sudo apt-get install git-cvs

6#安装gitweb

sudo apt-get install gitweb

7#安装git-daemon-run

sudo apt-get install git-daemon-run

#安装git-email

sudo apt-get install git-email

#安装git-arch

sudo apt-get install git-arch

8#安装gitk

sudo apt-get install git

以上安装完成,测试一下:

root@ubuntu:~# git
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
           [-p|--paginate|--no-pager] [--no-replace-objects]
           [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
           [--help] COMMAND [ARGS]

The most commonly used git commands are:
   add        Add file contents to the index
   bisect     Find by binary search the change that introduced a bug
   branch     List, create, or delete branches
   checkout   Checkout a branch or paths to the working tree
   clone      Clone a repository into a new directory
   commit     Record changes to the repository
   diff       Show changes between commits, commit and working tree, etc
   fetch      Download objects and refs from another repository
   grep       Print lines matching a pattern
   init       Create an empty git repository or reinitialize an existing one
   log        Show commit logs
   merge      Join two or more development histories together
   mv         Move or rename a file, a directory, or a symlink
   pull       Fetch from and merge with another repository or a local branch
   push       Update remote refs along with associated objects
   rebase     Forward-port local commits to the updated upstream head
   reset      Reset current HEAD to the specified state
   rm         Remove files from the working tree and from the index
   show       Show various types of objects
   status     Show the working tree status
   tag        Create, list, delete or verify a tag object signed with GPG

See 'git help COMMAND' for more information on a specific command.

git 包说明:

git包是git的核心程序,它只包括最小的依赖关系,如果只安装git包的话,那么一些git的外围扩展将无法使用。

git-all包包括了所有的集成在git上的外围扩展功能。

git-arch包是为了兼容arch仓库的。大家或许听说过linux的发行版本arch,但现在说的arch和这个发行版本似乎没有必然关系。 git-arch中的arch是gnu arch,它是一个类似于cvs、sccs、svn的版本控制系统。git-arch包用于支持从gnu arch仓库导入到git仓库。

git-cvs包用于支持从cvs仓库导入到git仓库。

git-daemon包用于支持用户使用git://形式的命令来访问git仓库。

git-email包支持使用git发送邮件。
git-gui包是一个基于Tk的git程序,也就是说是带有GUI的,可以用鼠标点击操作的git。

git-svn包用于支持从svn仓库导入到git仓库。

gitk包是一个带有Tcl/Tk GUI的可以用来浏览git仓库历史信息的桌面程序。

gitweb包则是一个成熟的基于web的用于git仓库管理的web程序



  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值