dirfly 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,13 +20,13 @@ npx dirfly [localPath] <repoUrl> [repoSubDir]
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
## 使用示例
|
|
23
|
+
## 使用示例(推荐svn+ssh协议,避免频繁输入密码)
|
|
24
24
|
|
|
25
25
|
### 1. 使用当前目录上传
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
cd ./my-project
|
|
29
|
-
npx dirfly
|
|
29
|
+
npx dirfly svn+ssh://github.com/user/repo
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
* 使用当前目录作为 `[localPath]`
|
|
@@ -37,7 +37,7 @@ npx dirfly https://github.com/user/repo.git
|
|
|
37
37
|
### 2. 指定本地目录
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npx dirfly ./dist
|
|
40
|
+
npx dirfly ./dist svn+ssh://github.com/user/repo
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
* `[localPath]` = `./dist`
|
|
@@ -48,7 +48,7 @@ npx dirfly ./dist https://github.com/user/repo.git
|
|
|
48
48
|
### 3. 指定本地目录和仓库子目录
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
npx dirfly ./dist
|
|
51
|
+
npx dirfly ./dist svn+ssh://github.com/user/repo frontend
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
* `[localPath]` = `./dist`
|