diff --git a/pygit2/repository.py b/pygit2/repository.py index c450d37..e704a5d 100644 --- a/pygit2/repository.py +++ b/pygit2/repository.py @@ -240,6 +240,8 @@ class Repository(_Repository): >>> checkout('HEAD') + This is identical to calling checkout_head(). + If no reference is given, checkout from the index. Arguments: