Skip to content
zhanwangls edited this page Jan 11, 2021 · 2 revisions

名词释义

git - 傻瓜式的内容跟踪系统

概要

git [--version] [--help] [-C <path>] [-c <name>=<value>] 
    [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] 
    [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare] 
    [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] 
    [--super-prefix=<path>]
    <command> [<args>] 

描述

Git是一款快速、可扩展、分布式的版本控制系统,带有非常丰富的命令以提供高级别的操作和内部接入。

阅读gittutorial[7] //TODO 快速开始,然后阅读giteveryday[7] //TODO 获取一套最少的有用的命令。Git User's Manual //TODO 有更深入的介绍。

当你掌握了基础的概念,你可以回到这个页面学习git提供了哪些命令。使用"git help command"你可以学习更多关于git的命令。gitcli[7] //TODO 说明页给你一个命令行命令语法的概览。

可以在https://git.github.io/htmldocs/git.html or https://git-scm.com/docs查看最新的Git文档

选项

// TODO

Setup and Config

git
config
help
bugreport

Getting and Creating Projects

init
clone

Basic Snapshotting

add
status
diff
commit
notes
restore
reset
rm
mv

Branching and Merging

branch
checkout
switch
merge
mergetool
log
stash
tag
worktree

Sharing and Updating Projects

fetch
pull
push
remote
submodule

Inspection and Comparison

show
log
diff
difftool
range-diff
shortlog
describe

Patching

apply
cherry-pick
diff
rebase
revert

Debugging

bisect
blame
grep

Guides

gitattributes
Command-line interface conventions
Everyday Git
Frequently Asked Questions (FAQ)
Glossary
Hooks
gitignore
gitmodules
Revisions
Submodules
Tutorial
Workflows
All guides...

Clone this wiki locally