Skip to content

Commit

Permalink
Silence the nonsensical git hints
Browse files Browse the repository at this point in the history
The output is quite verbose already, so this just takes away from the
output, which should contain only important information for the users.
  • Loading branch information
friendlyanon committed Apr 23, 2021
1 parent 31b3456 commit 036bff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake-init/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def write_dir(path, d, zip_path):


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

0 comments on commit 036bff2

Please sign in to comment.