git中的快照标识符?
我有点困惑。有没有办法放下一些专用的快照,在git的分支上标签?我知道,每个提交都是快照,但是您仍然希望一些标签可以轻松地识别源代码,从而构建0.9.1,对吗?
换句话说:在某些情况下,您可能需要下载属于SW的某个版本的代码库。您如何找到要下载的合适快照?
I'm a bit confused. Is there a way to put down some dedicated snapshots, labels on a branch in git? I know, every commit is snapshot, but you would still want some label easily identifying the source code resulting build 0.9.1, right?
In other words: in some cases you might want to download a codebase belonging to a certain version of a SW. How do you find the right snapshot to download?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您在创建链接到某些功能的特定代码期间使用
git标签
。您可以在 https://www.atlassian .com/git/tutorials/Inspecting-a-repository/git-tag 和 https://git-scm.com/book/en/v2/git-basics-tagging 。
I would suggest that you use
git tag
during the creation of specific code that is linked to some feature.You can read more about this at https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag and https://git-scm.com/book/en/v2/Git-Basics-Tagging.