@huabuyu233/edgit 0.2.0 → 0.2.1
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
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
GitHub 仓库镜像加速克隆工具。一条命令,自动探测可用镜像站并加速 `git clone`,克隆完成后自动还原 remote,日常 `git pull` / `git push` 完全不受影响。
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
edgit clone https://github.com/
|
|
6
|
+
edgit clone https://github.com/octocat/Hello-World.git --depth 1
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
## 特性
|
|
@@ -59,7 +59,7 @@ edgit init
|
|
|
59
59
|
镜像加速克隆,git 参数原样透传:
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
edgit clone https://github.com/
|
|
62
|
+
edgit clone https://github.com/octocat/Hello-World.git --depth 1
|
|
63
63
|
edgit clone https://github.com/xxx/yyy.git -b main
|
|
64
64
|
```
|
|
65
65
|
|
|
@@ -86,8 +86,8 @@ edgit clone https://gitlab.com/xxx/yyy.git # 原样透传
|
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
88
|
git remote -v
|
|
89
|
-
# origin https://github.com/
|
|
90
|
-
# origin https://github.com/
|
|
89
|
+
# origin https://github.com/octocat/Hello-World.git (fetch)
|
|
90
|
+
# origin https://github.com/octocat/Hello-World.git (push)
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
## 镜像管理
|
package/dist/edgit-darwin-amd64
CHANGED
|
Binary file
|
package/dist/edgit-darwin-arm64
CHANGED
|
Binary file
|
package/dist/edgit-linux-amd64
CHANGED
|
Binary file
|
package/dist/edgit-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|