Narsil HF staff commited on
Commit
8e0443a
1 Parent(s): 90a36fc

Make sure we're on main.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)