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

Function _git_command

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

Source from the content-addressed store, hash-verified

212
213
214def _git_command(*args: str) -> list[str]:
215 return [
216 "git",
217 "-c",
218 "credential.helper=",
219 "-c",
220 "core.hooksPath=/dev/null",
221 "-c",
222 "filter.lfs.smudge=",
223 "-c",
224 "filter.lfs.required=false",
225 *args,
226 ]
227
228
229def _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