gpt4 book ai didi

fossil - 让化石在提交时接受多个标签?

转载 作者:行者123 更新时间:2023-12-01 08:14:19 25 4
gpt4 key购买 nike

如果我能做这样的事情,我真的很想:

fossil commit --tag 0.1.2 release

并让 fossil 添加 0.1.2release 作为标签。

我怎样才能做到这一点?

编辑:
我按照建议在 Windows 上构建了化石,它解决了问题。

最佳答案

您可以多次重复 --tag 选项,例如 fossil commit --tag 0.1.2 --tag release

d:\test>fossil new test
project-id: 6cf7c1419425e47a71c35900179cb879a68fe495
server-id: 3a9e9a972204274d5a137b9e50df9a54928c4f96
admin-user: Eigenaar (initial password is "846ac5")

d:\test>fossil open test

d:\test>echo hello >world

d:\test>fossil add world
ADDED world

d:\test>fossil commit --comment "First release" --tag 0.1.2 --tag release
New_Version: 761d2a6c3be8fc22413b5ddedbab46e5500b1b38

d:\test>fossil info
project-name: <unnamed>
repository: d:/test/test
local-root: d:/test/
user-home: C:/Users/Eigenaar/AppData/Local
project-code: 6cf7c1419425e47a71c35900179cb879a68fe495
checkout: 761d2a6c3be8fc22413b5ddedbab46e5500b1b38 2012-07-09 21:13:17 UTC
parent: 1099fa0a0516d4b8a57306c4ee449f86a44f534d 2012-07-09 21:13:17 UTC
tags: trunk, 0.1.2, release
comment: First release (user: Eigenaar)

关于fossil - 让化石在提交时接受多个标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11378282/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com