File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1206,7 +1206,7 @@ def push_to_hub(
12061206 self ,
12071207 commit_message : Optional [str ] = "commit files to HF hub" ,
12081208 blocking : Optional [bool ] = True ,
1209- clean_ok : Optional [bool ] = False ,
1209+ clean_ok : Optional [bool ] = True ,
12101210 auto_lfs_prune : Optional [bool ] = False ,
12111211 ) -> Optional [str ]:
12121212 """
@@ -1218,7 +1218,7 @@ def push_to_hub(
12181218 Message to use for the commit.
12191219 blocking (`bool`, `optional`, defaults to `True`):
12201220 Whether the function should return only when the `git push` has finished.
1221- clean_ok (`bool`, `optional`, defaults to `False `):
1221+ clean_ok (`bool`, `optional`, defaults to `True `):
12221222 If True, this function will return None if the repo is untouched.
12231223 Default behavior is to fail because the git command fails.
12241224 auto_lfs_prune (`bool`, defaults to `False`):
You can’t perform that action at this time.
0 commit comments