From 217ba50d150c1ee85b8b7dcb8fbedd93ed5ebd60 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Fri, 30 Jul 2021 12:14:26 +0100 Subject: Fix typing of Head.create_head --- git/repo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/repo/base.py') diff --git a/git/repo/base.py b/git/repo/base.py index f8a1689a..bb8ddf13 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -422,7 +422,7 @@ class Repo(object): def create_head(self, path: PathLike, commit: str = 'HEAD', force: bool = False, logmsg: Optional[str] = None - ) -> 'SymbolicReference': + ) -> Head: """Create a new head within the repository. For more documentation, please see the Head.create method. -- cgit v1.2.1