{"id":32806782,"url":"https://github.com/emellybmuniz/github-pro-tips","last_synced_at":"2026-07-04T10:31:17.750Z","repository":{"id":322282823,"uuid":"1088862804","full_name":"emellybmuniz/github-pro-tips","owner":"emellybmuniz","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-03T15:33:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T17:23:26.797Z","etag":null,"topics":["atalhos","dicas","education","github","github-tips","notes","shortcuts","tips","tips-and-tricks","tricks","truques"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emellybmuniz.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-03T15:01:59.000Z","updated_at":"2025-11-03T15:35:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emellybmuniz/github-pro-tips","commit_stats":null,"previous_names":["emellybmuniz/github-pro-tips"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/emellybmuniz/github-pro-tips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emellybmuniz%2Fgithub-pro-tips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emellybmuniz%2Fgithub-pro-tips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emellybmuniz%2Fgithub-pro-tips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emellybmuniz%2Fgithub-pro-tips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emellybmuniz","download_url":"https://codeload.github.com/emellybmuniz/github-pro-tips/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emellybmuniz%2Fgithub-pro-tips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35118970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atalhos","dicas","education","github","github-tips","notes","shortcuts","tips","tips-and-tricks","tricks","truques"],"created_at":"2025-11-06T15:00:44.009Z","updated_at":"2026-07-04T10:31:17.740Z","avatar_url":"https://github.com/emellybmuniz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💎 GitHub Secrets You Need to Know\n\n[🇺🇸 English](./README.en.md) | [🇧🇷 Português](./README.md)\n\n![GitHub License](https://img.shields.io/github/license/emellybmuniz/github-pro-tips)\n![GitHub last commit](https://img.shields.io/github/last-commit/emellybmuniz/github-pro-tips)\n![GitHub Stars](https://img.shields.io/github/stars/emellybmuniz/github-pro-tips?style=social)\n\n\u003e A guide by @emellybmuniz with the best shortcuts and tricks to master your productivity on the platform.\n\n## ⌨️ 1. Essential Shortcuts\n\n* \u003ckbd\u003e.\u003c/kbd\u003e (Period) → Press `.` in any repository to open the **VS Code editor (github.dev)** instantly in your browser.\n* \u003ckbd\u003e\u003e\u003c/kbd\u003e (Greater than) → Opens github.dev in a **new browser tab** (keeping the current tab open).\n* \u003ckbd\u003eCmd\u003c/kbd\u003e/\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eK\u003c/kbd\u003e → **Command Palette**. Navigate, search, and execute actions anywhere on GitHub:\n    * \u003ckbd\u003e#\u003c/kbd\u003e (Issues/PRs)\n    * \u003ckbd\u003e@\u003c/kbd\u003e (Users)\n    * \u003ckbd\u003e/\u003c/kbd\u003e (Files in the repository)\n\n## 🧭 2. Navigation\n\n* \u003ckbd\u003eT\u003c/kbd\u003e → **File Finder (Fuzzy Finder)**. Type the file name to find it quickly.\n* \u003ckbd\u003eW\u003c/kbd\u003e → Quickly switch between **Branches**.\n* \u003ckbd\u003eS\u003c/kbd\u003e or \u003ckbd\u003e/\u003c/kbd\u003e → Focus the **Search bar**.\n* \u003ckbd\u003e?\u003c/kbd\u003e → Lists all **keyboard shortcuts** available for that specific view.\n* \u003ckbd\u003eJ\u003c/kbd\u003e → Move selection **down** (in lists of issues, PRs, notifications).\n* \u003ckbd\u003eK\u003c/kbd\u003e → Move selection **up** (in lists).\n* \u003ckbd\u003eX\u003c/kbd\u003e → **Toggle selection** (check/uncheck item).\n* \u003ckbd\u003eO\u003c/kbd\u003e or \u003ckbd\u003eEnter\u003c/kbd\u003e → **Open** selected item.\n* \u003ckbd\u003eEsc\u003c/kbd\u003e → Close dialog or hovercard.\n\n## 💻 3. Code Editing in github.dev\n\nWhen you open the web editor (by pressing \u003ckbd\u003e.\u003c/kbd\u003e), you have access to several editing shortcuts:\n\n### Basic Editing\n\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eX\u003c/kbd\u003e → **Cut entire line** (copies and deletes).\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eK\u003c/kbd\u003e → **Delete entire line** (without copying to clipboard).\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e → **Copy line** (without selection).\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eV\u003c/kbd\u003e → **Paste**.\n* \u003ckbd\u003eAlt\u003c/kbd\u003e + \u003ckbd\u003e↑\u003c/kbd\u003e/\u003ckbd\u003e↓\u003c/kbd\u003e → **Move line** up/down.\n* \u003ckbd\u003eAlt\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003e↑\u003c/kbd\u003e/\u003ckbd\u003e↓\u003c/kbd\u003e → **Duplicate line** up/down.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003e/\u003c/kbd\u003e → **Toggle line comment**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e → **Undo**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eY\u003c/kbd\u003e → **Redo**.\n\n### Markdown Formatting\n\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e → Insert Markdown formatting for **bold**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e → Insert Markdown formatting for *italic*.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eK\u003c/kbd\u003e → Insert Markdown formatting to create a [link](...).\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003e7\u003c/kbd\u003e → Ordered list.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003e8\u003c/kbd\u003e → Unordered list.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003e.\u003c/kbd\u003e → Blockquote.\n\n### Search and Navigation\n\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eF\u003c/kbd\u003e → **Find** in file.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eG\u003c/kbd\u003e → Find **next**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eG\u003c/kbd\u003e → Find **previous**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eG\u003c/kbd\u003e → **Go to specific line**.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eS\u003c/kbd\u003e → Save / Write commit message.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e (or \u003ckbd\u003eF1\u003c/kbd\u003e) → Open the **Command Palette** (access to all functions).\n\n## 🧐 4. Code Review\n\n* \u003ckbd\u003eL\u003c/kbd\u003e → Jump to a **specific Line**.\n* \u003ckbd\u003eY\u003c/kbd\u003e → Create a **Permalink** (permanent link to the exact code version).\n* \u003ckbd\u003eI\u003c/kbd\u003e → **Show/Hide Comments** in Diffs and PRs.\n* \u003ckbd\u003eR\u003c/kbd\u003e → (With text selected) **Quote the text** in a new comment.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eClick\u003c/kbd\u003e → Select a **block of lines** (e.g., `#L18-L20`).\n* \u003ckbd\u003eB\u003c/kbd\u003e → Open **Blame** view (see who last changed each line).\n* \u003ckbd\u003eA\u003c/kbd\u003e → Show/hide annotations in diffs.\n* \u003ckbd\u003eE\u003c/kbd\u003e → **Edit file** directly (opens edit tab).\n\n## ⚡ 5. Agile Navigation (Go-to)\n\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eC\u003c/kbd\u003e → Go to **Code**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e → Go to **Issues**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eP\u003c/kbd\u003e → Go to **Pull Requests**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eD\u003c/kbd\u003e → Go to **Homepage** (Dashboard).\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eN\u003c/kbd\u003e → Go to **Notifications**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e → Go to **Projects** (repository).\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eA\u003c/kbd\u003e → Go to **Actions**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eW\u003c/kbd\u003e → Go to **Wiki**.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eG\u003c/kbd\u003e → Go to **Discussions**.\n\n## 🤖 6. GitHub Actions\n\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eSpace\u003c/kbd\u003e → Get **suggestions** in the workflow editor.\n* \u003ckbd\u003eG\u003c/kbd\u003e + \u003ckbd\u003eF\u003c/kbd\u003e → Go to the **workflow file**.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eT\u003c/kbd\u003e or \u003ckbd\u003eT\u003c/kbd\u003e → Toggle **timestamps** in logs.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eF\u003c/kbd\u003e or \u003ckbd\u003eF\u003c/kbd\u003e → Toggle **full screen** in logs.\n* \u003ckbd\u003eEsc\u003c/kbd\u003e → Exit full screen logs.\n\n## 🔔 7. Notifications\n\n* \u003ckbd\u003eE\u003c/kbd\u003e → Mark as **done**.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eU\u003c/kbd\u003e → Mark as **unread**.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e → Mark as **read**.\n* \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eM\u003c/kbd\u003e → **Unsubscribe**.\n\n## 🔍 8. Code Search (Advanced Search)\n\nGitHub has a powerful code search tool that lets you find exactly what you're looking for:\n\n### Search Qualifiers\n\n* `repo:user/repository` → Limit search to a specific repository.\n* `org:organization` → Search across all repositories in an organization.\n* `language:language` → Filter by language (e.g., `language:python`).\n* `path:path` → Search in a specific path (e.g., `path:src/`).\n* `symbol:name` → Search for a symbol/function definition.\n* `extension:ext` → Filter by file extension.\n\n### Boolean Operators\n\n* `term1 AND term2` → Both terms must be present.\n* `term1 OR term2` → At least one term must be present.\n* `term1 NOT term2` → Exclude results with term2.\n\n### Regex Search\n\n* Use `/your-regex/` for regular expression searches.\n* Example: `/foo(bar|baz)/` finds \"foobar\" or \"foobaz\".\n\n### Tips\n\n* Use quotes to search for exact phrases: `\"specific function\"`.\n* Combine qualifiers: `repo:user/repo language:python path:src/`.\n* Access [https://cs.github.com](https://cs.github.com) for the new Code Search interface.\n\n## 🔗 9. URL Tricks (Repositories)\n\n* `github.com` → `github.dev` → Opens in the VS Code web editor.\n* `github.com` → `githubbox.com` → Opens the repository in a sandbox (CodeSandbox).\n* `.../pull/123` → `.../pull/123.diff` → Shows the Pull Request as a plain text `.diff` file.\n* `.../pull/123` → `.../pull/123.patch` → Views the PR as a `.patch` file.\n\n## 👤 10. URL Tricks (Profiles and Feeds)\n\n* `github.com/username.keys` → Views the user's public SSH keys.\n* `github.com/username.png` → Direct link to the profile picture.\n* `github.com/username.atom` → RSS feed of the user's public activity.\n* *Example:* `github.com/emellybmuniz.png`\n\n## ✨ 11. Collaboration and Extras\n\n* **Easter Egg:** Visit [api.github.com/octocat](https://api.github.com/octocat) to see the octocat mascot in ASCII art.\n* **Blame View:** Click \"Blame\" within a file to see who last changed each line (or use the \u003ckbd\u003eB\u003c/kbd\u003e shortcut).\n* **Draft PRs:** Create Draft Pull Requests to collaborate without notifying the entire team.\n* **Saved Replies:** Configure saved replies in Settings to speed up your code reviews (shortcut: \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003e.\u003c/kbd\u003e + \u003ckbd\u003e[number]\u003c/kbd\u003e).\n* **Command Palette:** Use \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eK\u003c/kbd\u003e to quickly access actions without navigating menus.\n* **File Tree:** In the new Code View, use the side file tree to easily navigate the repository structure.\n* **Jump to Definition:** In over 10 languages, click on a symbol to automatically jump to its definition (no setup required).\n* **Tab Navigation:** Use \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003e1-9\u003c/kbd\u003e to switch between open tabs in the editor.\n\n## 🤖 12. GitHub Copilot (Bonus)\n\nIf you use GitHub Copilot in github.dev or VS Code:\n\n* \u003ckbd\u003eTab\u003c/kbd\u003e → **Accept** suggestion.\n* \u003ckbd\u003eAlt\u003c/kbd\u003e/\u003ckbd\u003eOption\u003c/kbd\u003e + \u003ckbd\u003e]\u003c/kbd\u003e → **Next** suggestion.\n* \u003ckbd\u003eAlt\u003c/kbd\u003e/\u003ckbd\u003eOption\u003c/kbd\u003e + \u003ckbd\u003e[\u003c/kbd\u003e → **Previous** suggestion.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eEnter\u003c/kbd\u003e → Force suggestion generation / Open suggestions panel.\n* \u003ckbd\u003eCtrl\u003c/kbd\u003e/\u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e → Open **inline chat**.\n* \u003ckbd\u003eEsc\u003c/kbd\u003e → **Dismiss** suggestion.\n* \u003ckbd\u003eAlt\u003c/kbd\u003e/\u003ckbd\u003eOption\u003c/kbd\u003e + \u003ckbd\u003e\\\u003c/kbd\u003e → Trigger inline suggestion manually.\n\n### Slash Commands in Copilot Chat\n\n* `/fix` → Automatically fix errors.\n* `/explain` → Explain selected code.\n* `/tests` → Generate unit tests.\n* `/docs` → Add/improve documentation.\n* `/optimize` → Suggest performance improvements.\n\n⭐ **Liked this guide?** Leave a star on the repository to check it out later!\n\n---\n\n## 📚 References\n\nThis guide was created based on:\n\n* Official GitHub Documentation\n* GitHub Blog ([github.blog])(https://github.blog/)\n* Developer communities ([Dev.to](https://dev.to/), [Reddit](https://www.reddit.com/), [Stack Overflow](https://stackoverflow.com/))\n* Practical user experience\n* GitHub Code Search ([cs.github.com](https://github.com/search?type=code))\n* VS Code and github.dev Documentation\n\n## ✍️ Author\nDeveloped by **Emelly Beatriz** with ❤️\n\n📬 Get in touch:\n\n📧 emellybmuniz@gmail.com |\n💼 [Linkedin](https://www.linkedin.com/in/emellybmuniz) |\n🐙 [Github](https://github.com/emellybmuniz)\n\n\n*Last updated: November 2025*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femellybmuniz%2Fgithub-pro-tips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femellybmuniz%2Fgithub-pro-tips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femellybmuniz%2Fgithub-pro-tips/lists"}