跳到内容
onsuggest
登录
文章 en

How to manually restore a dolt db from its git remote

来源: bjorn.now ·

You can manually clone a dolt database from its git remote when bd bootstrap or bd init won’t cooperate. bd dolt stop: stop the server in the git repo you’re restoring so you can operate on its database cd ~/.beads/shared-server/dolt: go to the shared dolt server (it’s .beads/dolt/beads otherwise, I think) rm -rf : remove the DB if it exists already dolt clone git+ssh://git@github.com/user/repo.git : clone it to your prefix cd - && bd ready: see if you can see the listing I don’t know why my local just refused with bd bootstrap but this allowed me to fix it manually.

键盘快捷键

上一条发现
←P
下一条发现
→N
喜欢
L
不适合我
X
保存
S
显示此帮助
?
关闭
Esc

快捷键在发现页面上有效。