Skip to content

Commit

Permalink
fix git command
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsilver committed Oct 23, 2024
1 parent 1aab42d commit b7f1d31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apply_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def _main() -> None:
shutil.rmtree(git_repo)

# Initialize the repo anew.
subprocess.run(["git", "init", "-b", "main"], check=True, capture_output=True)
subprocess.run(["git", "init"], check=True, capture_output=True)
subprocess.run(["git", "checkout", "-b", "main"], check=True, capture_output=True)
subprocess.run(["git", "add", "."], check=True, capture_output=True)

# Check if the remote already exists (if this script is being run twice).
Expand Down

0 comments on commit b7f1d31

Please sign in to comment.