Initialize a Git repository with a first commit. Args: message: The first commit message.
(message: str = "hello world")
| 185 | |
| 186 | |
| 187 | def 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) |
no outgoing calls