Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
alerque
github-cli
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
github-cli
pkg
cmd
variable
on
trunk
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 2, 2025
refactor: drop multierror in favor of std
Show description for 70470f9
ferhatelmas
authored and
williammartin
committed
70470f9
View commit details
Copy full SHA for 70470f9
View code at this point
Browse repository at this point
Commits on Aug 6, 2024
Merge branch 'trunk' into tab-indents
andyfeller
authored
000b2f9
View commit details
Copy full SHA for 000b2f9
View code at this point
Browse repository at this point
Commits on Aug 2, 2024
Fix host handling in variable and secret delete
Show description for c088951
andyfeller
committed
c088951
View commit details
Copy full SHA for c088951
View code at this point
Browse repository at this point
Unify use of tab indent in non-test source files
Show description for d7b8ecf
muzimuzhi
committed
d7b8ecf
View commit details
Copy full SHA for d7b8ecf
View code at this point
Browse repository at this point
Update `gh variable get` to use repo host
Show description for 22a5a4c
andyfeller
committed
22a5a4c
View commit details
Copy full SHA for 22a5a4c
View code at this point
Browse repository at this point
Commits on Jun 25, 2024
Fetch variable selected repo relationship when required
williammartin
committed
d4e3385
View commit details
Copy full SHA for d4e3385
View code at this point
Browse repository at this point
Commits on May 25, 2024
Add `createdAt` field to tests
Show description for 4aa6f8f
babakks
committed
4aa6f8f
View commit details
Copy full SHA for 4aa6f8f
View code at this point
Browse repository at this point
Add `createdAt` field to `Variable` type
Show description for 94dff4d
babakks
committed
94dff4d
View commit details
Copy full SHA for 94dff4d
View code at this point
Browse repository at this point
Add test for exporting as JSON
Show description for 43e3e94
babakks
committed
43e3e94
View commit details
Copy full SHA for 43e3e94
View code at this point
Browse repository at this point
Add test for JSON output
Show description for 7add5a4
babakks
committed
7add5a4
View commit details
Copy full SHA for 7add5a4
View code at this point
Browse repository at this point
Only populate selected repo information for JSON output
Show description for 840ddc5
babakks
committed
840ddc5
View commit details
Copy full SHA for 840ddc5
View code at this point
Browse repository at this point
Add test to verify JSON exporter gets set
Show description for ab85baa
babakks
committed
ab85baa
View commit details
Copy full SHA for ab85baa
View code at this point
Browse repository at this point
Add `--json` option support
Show description for 9654907
babakks
committed
9654907
View commit details
Copy full SHA for 9654907
View code at this point
Browse repository at this point
Use `Variable` type defined in `shared` package
Show description for 9d8b783
babakks
committed
9d8b783
View commit details
Copy full SHA for 9d8b783
View code at this point
Browse repository at this point
Add tests for JSON output
Show description for 2a5a4ce
babakks
committed
2a5a4ce
View commit details
Copy full SHA for 2a5a4ce
View code at this point
Browse repository at this point
Move `Variable` type and `PopulateSelectedRepositoryInformation` func to shared
Show description for d821942
babakks
committed
d821942
View commit details
Copy full SHA for d821942
View code at this point
Browse repository at this point
Commits on May 23, 2024
Add a `gh variable get FOO` command (#9106)
Show description for 08a5589
arnested
and
williammartin
authored
08a5589
View commit details
Copy full SHA for 08a5589
View code at this point
Browse repository at this point
Commits on May 10, 2024
Move config interfaces into gh package (#9060)
williammartin
authored
1d38230
View commit details
Copy full SHA for 1d38230
View code at this point
Browse repository at this point
Commits on Feb 18, 2024
bug: fixed the result.Operation variable prior to patchRepoVariable being called in the setVariable function.
Dean Tate
committed
a3601a7
View commit details
Copy full SHA for a3601a7
View code at this point
Browse repository at this point
Commits on Jan 17, 2024
Add json export flags to variable list command (#8516)
w1mvy
authored
9dd5805
View commit details
Copy full SHA for 9dd5805
View code at this point
Browse repository at this point
Commits on Dec 1, 2023
Additional formatting changes
Show description for b77de0d
andyfeller
committed
b77de0d
View commit details
Copy full SHA for b77de0d
View code at this point
Browse repository at this point
Commits on Nov 22, 2023
Use "GitHub Actions" as a whole
muzimuzhi
committed
1ac1609
View commit details
Copy full SHA for 1ac1609
View code at this point
Browse repository at this point
Commits on Nov 16, 2023
Wrap cli commands in backticks uniformly
muzimuzhi
committed
8961016
View commit details
Copy full SHA for 8961016
View code at this point
Browse repository at this point
Commits on Oct 20, 2023
Add headers to all tables (#8157)
heaths
authored
7738b61
View commit details
Copy full SHA for 7738b61
View code at this point
Browse repository at this point
Commits on Mar 21, 2023
variable: fix listing and deleting variables in an environment (#7207)
Show description for 1fc98f6
rsteube
and
mislav
authored
1fc98f6
View commit details
Copy full SHA for 1fc98f6
View code at this point
Browse repository at this point
Commits on Mar 15, 2023
Tech debt cleanup for variable and secret commands (#7151)
samcoe
authored
41a4571
View commit details
Copy full SHA for 41a4571
View code at this point
Browse repository at this point
Commits on Mar 13, 2023
Add variable delete command (#6929)
atirikt
authored
e5a0b1f
View commit details
Copy full SHA for e5a0b1f
View code at this point
Browse repository at this point
Add variable list command (#6995)
atirikt
authored
c825095
View commit details
Copy full SHA for c825095
View code at this point
Browse repository at this point
Add variable set command (#6928)
atirikt
authored
88cc4d2
View commit details
Copy full SHA for 88cc4d2
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.