Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Email

部分 XVI. Git - Fast Version Control System

distributed revision control system

目录

179. Repositories 仓库管理
179.1. initial setup
179.2. checkout
179.3. Creating and Commiting
179.4. Manager remote
179.5. Status
179.6. Diff
179.7. Cloning
179.8. Push
179.9. Pull
179.10. fetch
179.11. Creating a Patch
179.12. reset
180. Manipulating branches
180.1. list branches
180.2. create branches
180.3. delete branches
180.4. switch branch
180.5. git-show-branch - Show branches and their commits
181. Sharing Repositories with others
181.1. Setting up a git server
182. command
182.1. git-add - Add file contents to the index
182.2. git-status - Show the working tree status
182.3. git-commit - Record changes to the repository
182.4. git-show - Show various types of objects
182.5. git-checkout - Checkout and switch to a branch
182.5.1. checkout master
182.5.2. checkout branch
182.6. git config
183. git-daemon 服务器
183.1. git-daemon - A really simple server for git repositories
183.2. git-daemon-sysvinit
183.3. inet.conf / xinetd 方式启动
183.4. git-daemon-run
183.5. Testing
184. git-svn - Bidirectional operation between a single Subversion branch and git
185. .gitignore
186. gitolite - SSH-based gatekeeper for git repositories
186.1. gitolite-admin
186.1.1. gitolite.conf
186.1.1.1. staff
186.1.1.2. repo
187. Web Tools
187.1. viewgit
188. FAQ
188.1. 导出最后一次修改过的文件
188.2. 导出指定版本区间修改过的文件
188.3. fatal: The remote end hung up unexpectedly

homepage: http://git.or.cz/index.html

过程 62. Git

  1. install

    sudo apt-get install git-core
    			
  2. config

    			
    $ git-config --global user.name neo
    $ git-config --global user.email openunix@163.com
    			
    			
  3. Initializ

    $ mkdir repository
    $ cd repository/
    
    /repository$ git-init-db
    Initialized empty Git repository in .git/
    			

    to check .gitconfig file

    $ cat ~/.gitconfig
    [user]
            name = chen
            email = openunix@163.com
    			
comments powered by Disqus