Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc93e971

Browse files
committed
chane HEAD typing to SymbolicReference
1 parenta728b0a commitc93e971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def create_head(self, path: PathLike, commit: str = 'HEAD',
415415
:return: newly created Head Reference"""
416416
returnHead.create(self,path,commit,force,logmsg)
417417

418-
defdelete_head(self,*heads:HEAD,**kwargs:Any)->None:
418+
defdelete_head(self,*heads:'SymbolicReference',**kwargs:Any)->None:
419419
"""Delete the given heads
420420
421421
:param kwargs: Additional keyword arguments to be passed to git-branch"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp