Skip to content

Commit 036bff2

Browse files
committed
Silence the nonsensical git hints
The output is quite verbose already, so this just takes away from the output, which should contain only important information for the users.
1 parent 31b3456 commit 036bff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake-init/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def write_dir(path, d, zip_path):
163163

164164

165165
def git_init(cwd):
166-
subprocess.run("git init", shell=True, check=True, cwd=cwd)
166+
subprocess.run("git init -b master", shell=True, check=True, cwd=cwd)
167167
print("""
168168
The project is ready to be used with git. If you are using GitHub, you may
169169
push the project with the following commands from the project directory:

0 commit comments

Comments
 (0)