# gitbackup
**Repository Path**: mputer/gitbackup
## Basic Information
- **Project Name**: gitbackup
- **Description**: git备份node工具
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-10-26
- **Last Updated**: 2024-07-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# gitbackup
#### 介绍
git备份node工具
方法1
运行git命令
git diff --name-only
输出相对路径到input.txt文件
例如:
XXX/XXX.文件扩展名
src/test.txt
运行node命令
node gitbackup.js
方法2
使用TortoiseGIT工具copy full path输出绝对路径到input.txt文件
例如:
盘符:\XXX\XXX.文件扩展名
D:\src\test.txt
运行node命令
node gitbackup.js