git的使用笔记


git的使用:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
available git commands in '/usr/libexec/git-core'
  add                       checkout                  cvsexportcommit           for-each-ref              init-db                   merge-recursive           prune-packed              remote-testsvn            show-branch               update-ref
  add--interactive          checkout-index            cvsimport                 format-patch              instaweb                  merge-resolve             pull                      repack                    show-index                update-server-info
  am                        cherry                    cvsserver                 fsck                      interpret-trailers        merge-subtree             push                      replace                   show-ref                  upload-archive
  annotate                  cherry-pick               daemon                    fsck-objects              log                       merge-tree                quiltimport               repo-config               stage                     upload-pack
  apply                     citool                    describe                  gc                        lost-found                mergetool                 read-tree                 request-pull              stash                     var
  archimport                clean                     diff                      get-tar-commit-id         ls-files                  mktag                     rebase                    rerere                    status                    verify-commit
  archive                   clone                     diff-files                grep                      ls-remote                 mktree                    receive-pack              reset                     stripspace                verify-pack
  bisect                    column                    diff-index                gui                       ls-tree                   mv                        reflog                    rev-list                  submodule                 verify-tag
  bisect--helper            commit                    diff-tree                 gui--askpass              mailinfo                  name-rev                  relink                    rev-parse                 submodule--helper         web--browse
  blame                     commit-tree               difftool                  hash-object               mailsplit                 notes                     remote                    revert                    subtree                   whatchanged
  branch                    config                    difftool--helper          help                      merge                     p4                        remote-ext                rm                        svn                       worktree
  bundle                    count-objects             fast-export               http-backend              merge-base                pack-objects              remote-fd                 send-email                symbolic-ref              write-tree
  cat-file                  credential                fast-import               http-fetch                merge-file                pack-redundant            remote-ftp                send-pack                 tag
  check-attr                credential-cache          fetch                     http-push                 merge-index               pack-refs                 remote-ftps               sh-i18n--envsubst         tar-tree
  check-ignore              credential-cache--daemon  fetch-pack                imap-send                 merge-octopus             patch-id                  remote-http               shell                     unpack-file
  check-mailmap             credential-gnome-keyring  filter-branch             index-pack                merge-one-file            peek-remote               remote-https              shortlog                  unpack-objects
  check-ref-format          credential-store          fmt-merge-msg             init                      merge-ours                prune                     remote-testpy             show                      update-index
'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.