blob: 56d17fe5b56860e035ac2281fb343d96796eb847 [file] [log] [blame] [view]
# fx git
Run git commands in the Fuchsia tree.
```none
usage: fx git <args>
This command delegates to the `git` binary found in the PATH.
In a standard checkout, this will be the system git.
In a Cog workspace (or other non-standard environment), `fx` may inject
a git-polyfill into the PATH (see scripts/cog/git-polyfill/README.md).
In that case, this command will invoke the polyfill, allowing `fx git`
to work transparently even when a real .git directory is missing.
```
[git source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/git)