.nh .TH "glab" "1" "Jul 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-securefile-update - Update a secure file in a project. .SH SYNOPSIS \fBglab securefile update [flags]\fP .SH DESCRIPTION Update a secure file in a project, identified by its name. The command asks for confirmation before updating; use \fB-y\fR to skip the prompt in scripts. .PP By default, the file is updated in the current project. Use \fB--repo\fR to target another project. .PP If the file content is unchanged, no update is performed. .PP Updating a secure file changes its ID. When you download the file afterward, reference it by \fB--name\fR instead of \fB--id\fR\&. .SH OPTIONS \fB-y\fP, \fB--yes\fP[=false] Skip the confirmation prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Update a secure file glab securefile update "file.txt" securefiles/localfile.txt # Skip the confirmation prompt glab securefile update "file.txt" securefiles/localfile.txt -y # Use the 'overwrite' alias glab securefile overwrite "file.txt" securefiles/localfile.txt .EE .SH SEE ALSO \fBglab-securefile(1)\fP