开发者

Etckeeper + git and remote server

开发者 https://www.devze.com 2023-02-01 07:12 出处:网络
Is it some possible to clone etckeeper git repo on my computer, make some changes and after that push to /etc folder on server?

Is it some possible to clone etckeeper git repo on my computer, make some changes and after that push to /etc folder on server?

I tried this but i have problem with p开发者_Python百科ush because etc is noa a bare repo.

Thanks for help.

BR,


You would have to either pull repo on etckeeper machine from your computed, or use intermediate bare repo like that: your pc --(push)--> remote repo etckeeper machine <--(pull)-- remote repo


With keepconf tool you can get the files from remote servers and track them locally into a git repo.

0

精彩评论

暂无评论...
验证码 换一张
取 消