I am going through a texbook on Flask (Python framework). Examples are provided in git repository: https://github.com/miguelgrinberg/flasky
我正在浏览Flask上的一本texbook(Python框架)。示例在git存储库中提供:https://github.com/miguelgrinberg/flasky
Each example is a
branch
tag, but
每个示例都是分支标记,但是
git show-branch -a
does not show all of them, because as I understand the command above can only show 29 branches at once. How do I navigate through all of the examples?
没有显示所有这些,因为据我所知,上面的命令只能同时显示29个分支。如何浏览所有示例?
Thanks
谢谢
EDIT mistaken branches with tags
编辑错误的分支与标签
2 个解决方案
#1
1
To be sure to see everything (branches, tags, and commits), use the refs and format options of git log
:
要确保查看所有内容(分支,标记和提交),请使用git log的refs和format选项:
git log --oneline --decorate --graph --all
#2
0
you can use
您可以使用
git tag
to show all tags.
显示所有标签。
#1
1
To be sure to see everything (branches, tags, and commits), use the refs and format options of git log
:
要确保查看所有内容(分支,标记和提交),请使用git log的refs和format选项:
git log --oneline --decorate --graph --all
#2
0
you can use
您可以使用
git tag
to show all tags.
显示所有标签。