# AutoGitCommit **Repository Path**: dz-io/AutoGitCommit ## Basic Information - **Project Name**: AutoGitCommit - **Description**: 自动Git Commit工具(可视为基于Git的自动备份神器) - **Primary Language**: Docker - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-17 - **Last Updated**: 2024-03-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AutoGitCommit ## 介绍 自动 Git Commit 工具(基于 Git 的自动备份工具) ## 安装教程 一条命令安装 ```bash docker build -t daze456/autogitcommit:latest https://gitee.com/daze456/AutoGitCommit.git ``` ## 使用说明 docker 传统,一条命令启动 ```bash docker run -d -v <要备份的数据卷>:/Autogit -v /etc/localtime:/etc/localtime:ro daze456/autogitcommit:latest ``` ## 高级用户 1. 可通过以下变量配置本工具 - `gituser` Git 用户名,默认为 `AutoGit` - `gitemail` 邮箱,默认为`AutoGit@Bot` - `sleepTime` 间隔时间,单位为秒,默认为`3600` 2. 只读挂载`/etc/localtime`(即使用`-v /etc/localtime:/etc/localtime:ro`)可让容器获得正确的时区 3. 挂载 SSH 私钥可以让系统自动 push ## 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request