https://github.com/kuwacom/git-backup
gitに定期的にファイルをバックアップするプログラム(windows用)
https://github.com/kuwacom/git-backup
Last synced: 3 months ago
JSON representation
gitに定期的にファイルをバックアップするプログラム(windows用)
- Host: GitHub
- URL: https://github.com/kuwacom/git-backup
- Owner: kuwacom
- Created: 2021-07-26T19:12:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-27T11:06:22.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T06:26:50.215Z (5 months ago)
- Language: Batchfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-backup
gitに定期的にファイルをバックアップするプログラム(windows用)
そのうちpythonバージョンも出すかも
# 使い方
まず初めに`setup.bat`を実行してGITを設定します
その後`back_up.bat`の`echo d | xcopy /E "<バックアップしたいファイルのディレクトリ>" "backup\%times%"`と
`git remote add origin <ここに自分のGITURL(https)を置く>`と`timeout /nobreak <バックアップする間隔(秒)>`を
自分の値に書き換えます
その後`start.bat`を実行することで指定したリポジトリにバックアップされます