The post GitHub Copilot CLI Slash Commands Get Full Reference Guide appeared on BitcoinEthereumNews.com. Jessie A Ellis Jan 21, 2026 17:36 GitHub releases comprehensiveThe post GitHub Copilot CLI Slash Commands Get Full Reference Guide appeared on BitcoinEthereumNews.com. Jessie A Ellis Jan 21, 2026 17:36 GitHub releases comprehensive

GitHub Copilot CLI Slash Commands Get Full Reference Guide



Jessie A Ellis
Jan 21, 2026 17:36

GitHub releases comprehensive cheat sheet for Copilot CLI slash commands, covering session management, directory access, model selection, and MCP configuration.

GitHub published a detailed reference guide for slash commands in Copilot CLI on January 21, giving developers a complete rundown of the terminal-based AI assistant’s command structure for the first time.

The guide arrives one week after GitHub made OpenCode official and expanded Copilot’s model garden access for terminal-native developers. For the growing number of coders who prefer working in the command line over IDEs, this documentation fills a gap that’s existed since Copilot CLI entered public preview last September.

What Slash Commands Actually Do

Unlike natural language prompts that can produce variable results, slash commands trigger predictable, repeatable actions. Type /clear and you wipe your session context—every time, same result. That consistency matters when you’re debugging at 2 AM and need Copilot to stop referencing code from three tasks ago.

The command set breaks into four categories:

Session management handles the basics: /clear resets context, /session and /usage show metrics like total duration and code changes, and /exit ends your session cleanly.

Directory and file access controls what Copilot can see. /add-dir grants access to specific directories while /list-dirs shows current permissions—useful for teams with compliance requirements who need auditable trails of file access.

Configuration commands let you swap AI models on the fly with /model, which presents options including Claude Sonnet 4.5, GPT-5.1, and Gemini 3 Pro. /theme adjusts terminal display, and /terminal-setup enables multiline inputs for complex prompts.

External services is where things get interesting. /delegate creates AI-generated pull requests without leaving your terminal. /mcp manages Model Context Protocol server configurations for CI/CD integration. /share exports entire sessions as markdown files or GitHub Gists for async handoffs.

The Three Commands Worth Memorizing

GitHub’s own advice: start with /clear, /cwd, and /model. The first prevents context bleed between projects. The second confirms or changes your working directory—critical when navigating large codebases. The third lets you experiment with different AI models when responses aren’t hitting the mark.

The /user command addresses a real pain point for developers juggling personal and enterprise accounts. /user switch rotates between GitHub accounts without the usual dance of logging out and back in.

Who This Matters For

Copilot CLI requires an active paid subscription, so this isn’t a free tier feature. But for subscribers who’ve been piecing together workflows from scattered documentation, having a single reference changes the calculus on terminal-based AI coding.

The timing aligns with GitHub’s January 14 announcement of enhanced agents and improved context management for Copilot CLI—suggesting the company sees terminal-native development as a serious growth vector rather than a niche use case.

Full documentation is available on GitHub’s blog, with the complete command reference table covering 17 slash commands and their use cases.

Image source: Shutterstock

Source: https://blockchain.news/news/github-copilot-cli-slash-commands-cheat-sheet

Market Opportunity
Everclear Logo
Everclear Price(CLEAR)
$0.00347
$0.00347$0.00347
0.00%
USD
Everclear (CLEAR) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Trading time: Tonight, the US GDP and the upcoming non-farm data will become the market focus. Institutions are bullish on BTC to $120,000 in the second quarter.

Trading time: Tonight, the US GDP and the upcoming non-farm data will become the market focus. Institutions are bullish on BTC to $120,000 in the second quarter.

Daily market key data review and trend analysis, produced by PANews.
Share
PANews2025/04/30 13:50
We were right about all of it

We were right about all of it

Today is the saddest most depressing day in America since Nov. 5, 2024, when anybody with a brain in their head or a heart in their chest knew what was most assuredly
Share
Alternet2026/01/26 10:17
Polygon Tops RWA Rankings With $1.1B in Tokenized Assets

Polygon Tops RWA Rankings With $1.1B in Tokenized Assets

The post Polygon Tops RWA Rankings With $1.1B in Tokenized Assets appeared on BitcoinEthereumNews.com. Key Notes A new report from Dune and RWA.xyz highlights Polygon’s role in the growing RWA sector. Polygon PoS currently holds $1.13 billion in RWA Total Value Locked (TVL) across 269 assets. The network holds a 62% market share of tokenized global bonds, driven by European money market funds. The Polygon POL $0.25 24h volatility: 1.4% Market cap: $2.64 B Vol. 24h: $106.17 M network is securing a significant position in the rapidly growing tokenization space, now holding over $1.13 billion in total value locked (TVL) from Real World Assets (RWAs). This development comes as the network continues to evolve, recently deploying its major “Rio” upgrade on the Amoy testnet to enhance future scaling capabilities. This information comes from a new joint report on the state of the RWA market published on Sept. 17 by blockchain analytics firm Dune and data platform RWA.xyz. The focus on RWAs is intensifying across the industry, coinciding with events like the ongoing Real-World Asset Summit in New York. Sandeep Nailwal, CEO of the Polygon Foundation, highlighted the findings via a post on X, noting that the TVL is spread across 269 assets and 2,900 holders on the Polygon PoS chain. The Dune and https://t.co/W6WSFlHoQF report on RWA is out and it shows that RWA is happening on Polygon. Here are a few highlights: – Leading in Global Bonds: Polygon holds 62% share of tokenized global bonds (driven by Spiko’s euro MMF and Cashlink euro issues) – Spiko U.S.… — Sandeep | CEO, Polygon Foundation (※,※) (@sandeepnailwal) September 17, 2025 Key Trends From the 2025 RWA Report The joint publication, titled “RWA REPORT 2025,” offers a comprehensive look into the tokenized asset landscape, which it states has grown 224% since the start of 2024. The report identifies several key trends driving this expansion. According to…
Share
BitcoinEthereumNews2025/09/18 00:40