Skip to content

监听文件修改,自动同步本地到远程仓库的脚本。

License

Notifications You must be signed in to change notification settings

Lyh0210/auto_push

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto_push

监听文件修改,自动同步本地到远程仓库的脚本。

Usage

copy到想要监听的目录, 运行脚本

  • python 需要安装对应的python环境3.7+
//安装依赖
pip3 install -r requirements.txt

python3 auto_push.py
  • shell 支持linux/macos
chmod 777 auto_push.sh
./auto_push.sh

随意修改文件保存, 即可享受自动同步.

About

监听文件修改,自动同步本地到远程仓库的脚本。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.1%
  • Shell 33.9%