git & repo 工具简介

repo: 是用python实现的,对git进行了封装的,android源代码管理工具。

repo help -a

  abandon     Permanently abandon a development branch
  branch      View current topic branches
  branches    View current topic branches
  checkout    Checkout a branch for development
  diff        Show changes between commit and working tree
  download    Download and checkout a change
  forall      Run a shell command in each project
  grep        Print lines matching a pattern
  help        Display detailed help on a command
  init        Initialize repo in the current directory
  manifest    Manifest inspection utility
  prune       Prune (delete) already merged topics
  rebase      Rebase local branches on upstream branch
  selfupdate  Update repo to the latest version
  smartsync   Update working tree to the latest known good revision
  stage       Stage file(s) for commit
  start       Start a new branch for development
  status      Show the working tree status
  sync        Update working tree to the latest revision
  upload      Upload changes for code review
  version     Display the version of repo


git help -a
  add                 diff-index          lost-found          peek-remote         shell
  add--interactive    diff-tree           ls-files            prune               shortlog
  am                  difftool            ls-remote           prune-packed       show
  annotate            difftool--helper    ls-tree             pull                show-branch
  apply               fast-export         mailinfo           push                show-index
  archive             fast-import         mailsplit           quiltimport         show-ref
  bisect              fetch               merge               read-tree           stage
  bisect--helper      fetch-pack          merge-base          rebase              stash
  blame               filter-branch       merge-file          rebase--interactive status
  branch              fmt-merge-msg       merge-index         receive-pack        stripspace
  bundle              for-each-ref        merge-octopus       reflog              submodule
  cat-file            format-patch        merge-one-file      relink              symbolic-ref
  check-attr          fsck                merge-ours          remote              tag
  check-ref-format    fsck-objects        merge-recursive     remote-ftp          tar-tree
  checkout            gc                  merge-resolve       remote-ftps         unpack-file
  checkout-index      get-tar-commit-id   merge-subtree       remote-http         unpack-objects
  cherry              grep                merge-tree          remote-https        update-index
  cherry-pick         gui                 mergetool           repack              update-ref
  citool              hash-object         mergetool--lib      replace             update-server-info
  clean               help                mktag               repo-config         upload-archive
  clone               http-backend        mktree              request-pull        upload-pack
  commit              http-fetch          mv                  rerere              var
  commit-tree         http-push           name-rev            reset               verify-pack
  config              imap-send           notes               rev-list            verify-tag
  count-objects       index-pack          pack-objects        rev-parse           web--browse
  daemon              init                pack-redundant      revert              whatchanged
  describe            init-db             pack-refs           rm                  write-tree
  diff                instaweb            parse-remote        send-pack
  diff-files          log                 patch-id            sh-setup


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值