From 9718fd8c32938a38d7973e39a32df2526e2bfa8e Mon Sep 17 00:00:00 2001 From: djmattyg007 Date: Sat, 23 Aug 2014 01:08:32 +1000 Subject: [PATCH] Add note about checkout('HEAD') being identical to checkout_head() --- pygit2/repository.py | 2 ++ 1 file changed, 2 insertions(+) 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: