first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
5
Git/使用curl命令下载Gitlab中的单个文件.md
Normal file
5
Git/使用curl命令下载Gitlab中的单个文件.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
```bash
|
||||
# token需要生成
|
||||
# files后面跟文件的路径,%2F为/
|
||||
curl -o wep.war --header "PRIVATE-TOKEN: [token-id]" "http://[gitlabxxxx]/api/v4/projects/[project-id]/repository/files/[wep%2F20220216%2Fwep.war]/raw?ref=master"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue