MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / _git_command

Function _git_command

ci/torch_latest.py:404–416  ·  view source on GitHub ↗
(*args: str)

Source from the content-addressed store, hash-verified

402
403
404def _git_command(*args: str) -> list[str]:
405 return [
406 "git",
407 "-c",
408 "credential.helper=",
409 "-c",
410 "core.hooksPath=/dev/null",
411 "-c",
412 "filter.lfs.smudge=",
413 "-c",
414 "filter.lfs.required=false",
415 *args,
416 ]
417
418
419def _run_local(argv: Sequence[str], *, cwd: Path | None = None) -> str:

Callers 3

_checkout_exactFunction · 0.85
_remote_gitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected