操作记录
官方教程:化石:化石快速入门指南 --- Fossil: Fossil Quick Start Guide
# 查看版本:
fossil version
# 结果:
This is fossil version 2.24 [2ac49d3200] 2024-02-24 16:31:31 UTC
# 初始化仓库文件:
fossil init proj1.fossil
# 结果:
project-id: 960e809108bac0668b90c5a469c121f8473e2126
server-id: b7268416f3e10ab992ac1ebd12171f79e2f0a0c4
admin-user: xxx (initial password is "xxxxxx")
# 查看所有指令:
fossil help
# 结果:
add change diff
....
# 查看具体指令帮助文档
fossil help add
# 结果:
Usage: fossil add ?OPTIONS? FILE1 ?FILE2 ...?
....
# 打开仓库文件,并读出仓库里面的所有内容:
mkdir proj1
cd proj1
## 打开之前初始化的仓库文件路径
fossil open ../repo1.fossil
# 结果:
project-name: <unnamed>
repository: C:/xxx
local-root: C:/xxx
config-db: C:/xxx
project-code: 8e16b357a219bf9a42c41909e0e99e6771311d4a
checkout: 6971ea62e416cd2d5dfef6c6c7884200ca85d410 2024-03-11 02:04:29 UTC
tags: trunk
comment: initial empty check-in (user: xxxx)
check-ins: 1
发表评论