We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baae7bc commit eca8f19Copy full SHA for eca8f19
git_template_repo/git_template_repo.py
@@ -83,7 +83,7 @@ def execute(args):
83
os.chdir(clone_dir)
84
make_call("git", "init")
85
else:
86
- make_call("git", "clone", new_repo, clone_dir)
+ make_call("git", "clone", "--no-tags", new_repo, clone_dir)
87
88
89
if int(make_call("git", "rev-list", "--all", "--count")):
@@ -93,10 +93,10 @@ def execute(args):
93
make_call("git", "remote", "add", "template", template_repo)
94
95
if is_sha1(template_branch):
96
- make_call("git", "fetch", "template", template_branch)
+ make_call("git", "fetch", "--no-tags", "template", template_branch)
97
make_call("git", "checkout", "--orphan", new_root_branch, template_branch)
98
99
- make_call("git", "fetch", "template")
+ make_call("git", "fetch", "--no-tags", "template")
100
make_call("git", "checkout", "--orphan", new_root_branch, f"template/{template_branch}")
101
102
make_call("git", "add", "-A")
0 commit comments