(base) ~/new_temp ./fgit
Usage:
fgit https://github.com/EdgeSecurityTeam/EHole
fgit https://github.com/EdgeSecurityTeam/EHole/archive/main.zip
fgit https://github.com/EdgeSecurityTeam/EHole/releases/download/v2.0/Ehole2.0-darwin.zip
fgit https://raw.githubusercontent.com/EdgeSecurityTeam/EHole/main/README.md
使用的效果和你预想的一样,后面跟项目就是clone到本地,后面跟单个文件就是把文件下载到本地.
cp ./fgit /usr/local/bin/fgit
chmod +x /usr/local/bin/fgit