fx git

在 Fuchsia 树中运行 git 命令。


usage: fx git get-rev [--repo_root <repo>]
  get-rev   Get the current git revision of the Fuchsia checkout. If no
            --repo_root is pass in, we will use "fuchsia" as default value.

Sample usage:

   $ fx git get-rev (This will get the HEAD of fuchsia repo)
   $ fx git get-rev --repo_root third_party/icu/default (This will get the
                    HEAD of third_party/icu/default repo)

git 源代码