【文件属性】:
文件名称:dsync:在所有设备之间轻松同步本地 git 存储库
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-01 19:18:00
Makefile
同步
在所有设备之间轻松同步本地 git 存储库。
笔记:
这个 Makefile 是在 Debian shell 上构建和使用的。
不要忘记在文件顶部配置变量。
隐藏文件.dsynctime已创建到目录目标中
拉/推命令使用文件.dsynctime不擦除本地文件。
需要配置变量
sshUser := user
sshKey := /home/user/.ssh/id_dsa
sshRemote := domain.tld
PathRemoteBase := /where/you/want
如何使用
克隆
克隆允许同时克隆存储库并创建文件.dsynctime 。 以下命令将创建持久文件夹/github/pierozi/dsync
$ make clone/github/pierozi/dsync repo=https://g
【文件预览】:
dsync-master
----LICENSE(1KB)
----.gitignore(11B)
----Makefile(5KB)
----README.md(2KB)