We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf7e92 commit 849ca59Copy full SHA for 849ca59
git/repo/base.py
@@ -859,7 +859,7 @@ def ignored(self, *paths: PathLike) -> List[str]:
859
def active_branch(self) -> Head:
860
"""The name of the currently active branch.
861
862
- Raises: TypeError – If HEAD is detached
+ :raises TypeError: If HEAD is detached
863
:return: Head to the active branch"""
864
# reveal_type(self.head.reference) # => Reference
865
return self.head.reference
0 commit comments