Skip to content

Commit 217ba50

Browse files
committed
Fix typing of Head.create_head
1 parent 76c1c8d commit 217ba50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/repo/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def _to_full_tag_path(path):
422422

423423
def create_head(self, path: PathLike, commit: str = 'HEAD',
424424
force: bool = False, logmsg: Optional[str] = None
425-
) -> 'SymbolicReference':
425+
) -> Head:
426426
"""Create a new head within the repository.
427427
For more documentation, please see the Head.create method.
428428

0 commit comments

Comments
 (0)