Make sure we're on main.
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import os
|
|
| 9 |
|
| 10 |
def greet(name):
|
| 11 |
with tempfile.TemporaryDirectory() as d:
|
| 12 |
-
Repo.clone_from(name, d)
|
| 13 |
repo = Repo(d)
|
| 14 |
for commit in repo.iter_commits():
|
| 15 |
print(commit)
|
|
|
|
| 9 |
|
| 10 |
def greet(name):
|
| 11 |
with tempfile.TemporaryDirectory() as d:
|
| 12 |
+
Repo.clone_from(name, d, branch="main")
|
| 13 |
repo = Repo(d)
|
| 14 |
for commit in repo.iter_commits():
|
| 15 |
print(commit)
|