MCPcopy
hub / github.com/copier-org/copier / git_init

Function git_init

tests/helpers.py:187–195  ·  view source on GitHub ↗

Initialize a Git repository with a first commit. Args: message: The first commit message.

(message: str = "hello world")

Source from the content-addressed store, hash-verified

185
186
187def git_init(message: str = "hello world") -> None:
188 """Initialize a Git repository with a first commit.
189
190 Args:
191 message: The first commit message.
192 """
193 git("init")
194 git("add", ".")
195 git("commit", "-m", message)

Calls

no outgoing calls