X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-show-ref.txt;h=be0ec189af45e1006134e5607bb76a7b6ad20699;hb=9bdef78fb05ce2ca7788518e17ae20488b153335;hp=4696af743321d78d9e1d17115d29222f17cb4d55;hpb=9502751181df4a1347b3bd0fe2f0f0cde9cfaa91;p=git.git diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index 4696af743..be0ec189a 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -84,7 +84,11 @@ OPTIONS ...:: - Show references matching one or more patterns. + Show references matching one or more patterns. Patterns are matched from + the end of the full name, and only complete parts are matched, e.g. + 'master' matches 'refs/heads/master', 'refs/remotes/origin/master', + 'refs/tags/jedi/master' but not 'refs/heads/mymaster' nor + 'refs/remotes/master/jedi'. OUTPUT ------