glab(1)
β¨ glab-securefile-create β glab(1) β¨
okay bestie, welcome to the secure-file upload corner of glab(1) π
this one is lowkey small but highkey useful, and itβs giving βupload it and goβ energy π
π NAME π
glab-securefile-create β upload a new secure file to a project. periodt π
πΈ SYNOPSIS πΈ
glab securefile create [flags]
π¦ DESCRIPTION π¦
First things first: you give it the name you want the file stored under, then the local path to the file youβre uploading. Thatβs the vibe check β
Secure files are stored outside the projectβs repository and are not in version control β so no git-commit main character energy for them π«Ά Both plain text and binary files are supported, up to a maximum size of 5 MB. Thatβs the limit, bestie, no cap.
By default, the file gets uploaded to the current project. Wanna target another project? Use --repo, easy peasy πΈ
π«Ά OPTIONS INHERITED FROM PARENT COMMANDS π«Ά
-h,--help[=false]β show help for this command. literally your βwait, what does this do again?β button π-R,--repo=""β select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. slay, flexible π
π₯ EXAMPLE π₯
# Upload a secure file from a local path
glab securefile create "newfile.txt" "securefiles/localfile.txt"
# Upload using the 'upload' alias
glab securefile upload "newfile.txt" "securefiles/localfile.txt"
# Upload to another project
glab securefile create "newfile.txt" "securefiles/localfile.txt" -R owner/repo
π SEE ALSO π
glab-securefile(1) β go peek at the parent page, bestie π
β¨ auto-generated byspf13/cobraΒ· datedNov 2026Β· this isglab(1), bye bestie, go upload something iconic π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms