Files
documentation/user-guide/snigdha-os-command-shorcuts.html
github-actions[bot] d83c85ad0b deploy: 1bbb33356f
2025-01-09 11:00:52 +00:00

414 lines
37 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-user-guide/snigdha-os-command-shorcuts" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.6.3">
<title data-rh="true">Shortcut for Developers | DOCUMENTATION | SNIGDHA OS</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://snigdhaos.org/documentation/img/snigdhaos-og.png"><meta data-rh="true" name="twitter:image" content="https://snigdhaos.org/documentation/img/snigdhaos-og.png"><meta data-rh="true" property="og:url" content="https://snigdhaos.org/documentation/user-guide/snigdha-os-command-shorcuts"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" property="og:locale:alternate" content="hi"><meta data-rh="true" property="og:locale:alternate" content="bn"><meta data-rh="true" property="og:locale:alternate" content="pa"><meta data-rh="true" property="og:locale:alternate" content="ta"><meta data-rh="true" property="og:locale:alternate" content="te"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Shortcut for Developers | DOCUMENTATION | SNIGDHA OS"><meta data-rh="true" name="description" content="Git Commands &amp; Aliases"><meta data-rh="true" property="og:description" content="Git Commands &amp; Aliases"><link data-rh="true" rel="icon" href="/documentation/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://snigdhaos.org/documentation/user-guide/snigdha-os-command-shorcuts"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/user-guide/snigdha-os-command-shorcuts" hreflang="en"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/hi/user-guide/snigdha-os-command-shorcuts" hreflang="hi"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/bn/user-guide/snigdha-os-command-shorcuts" hreflang="bn"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/pa/user-guide/snigdha-os-command-shorcuts" hreflang="pa"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/ta/user-guide/snigdha-os-command-shorcuts" hreflang="ta"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/te/user-guide/snigdha-os-command-shorcuts" hreflang="te"><link data-rh="true" rel="alternate" href="https://snigdhaos.org/documentation/user-guide/snigdha-os-command-shorcuts" hreflang="x-default"><link rel="stylesheet" href="/documentation/assets/css/styles.ff747e15.css">
<script src="/documentation/assets/js/runtime~main.68f25433.js" defer="defer"></script>
<script src="/documentation/assets/js/main.a7906fa0.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const n=new URLSearchParams(window.location.search).entries();for(var[t,e]of n)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_lteo" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/documentation/"><div class="navbar__logo"><img src="/documentation/img/logo.svg" alt="Snigdha OS Logo" class="themedComponent_KcS7 themedComponent--light_PHcV"><img src="/documentation/img/logo.svg" alt="Snigdha OS Logo" class="themedComponent_KcS7 themedComponent--dark_hDFb"></div><b class="navbar__title text--truncate">Documentation | SNIGDHA OS</b></a></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_KNEh"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>English</a><ul class="dropdown__menu"><li><a href="/documentation/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="en">English</a></li><li><a href="/documentation/hi/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="hi">हिन्दी</a></li><li><a href="/documentation/bn/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="bn">বাংলা</a></li><li><a href="/documentation/pa/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="pa">ਪੰਜਾਬੀ</a></li><li><a href="/documentation/ta/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="ta">தமிழ்</a></li><li><a href="/documentation/te/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="te">తెలుగు</a></li></ul></div><a href="https://github.com/Snigdha-OS/" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_zRin"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_lagg colorModeToggle_y0Xj"><button class="clean-btn toggleButton_XgGf toggleButtonDisabled_cMhw" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite" aria-pressed="false"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_DmDu"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_XD1u"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_p6AX"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_ba09"><div class="docsWrapper_sEeB"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_iLKF" type="button"></button><div class="docRoot_EkxU"><aside class="theme-doc-sidebar-container docSidebarContainer_c1ls"><div class="sidebarViewport_KCfd"><div class="sidebar_DH5_"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_Guh8"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link" href="/documentation/category/introduction">Introduction</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/">Overview</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/name-and-story-of-snigdha-os">Story &amp; Name</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/motivation-behind-snigdha-os">Aim &amp; Motivation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/snigdha-os-code-of-conduct">Code of Conduct</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/snigdha-os-coding-standard">Coding Standard</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/contribution-guidelines-for-snigdha-os">Contribution Guidelines</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/snigdha-os-release-notes">Release Notes</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/faq-snigdha-os">Frequently Asked</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/introduction/privacy-policy-for-snigdha-os">Privacy Policy for Snigdha OS</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link" href="/documentation/category/installation">Installation</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/snigdha-os-system-requirements">System Requirements</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/important-note-for-snigdha-os-installation">Important Note</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/download-snigdha-os">Download Snigdha OS</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/snigdha-os-live-environment">Live Environment</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/snigdha-os-offline-installation">Offline Installation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/snigdha-os-online-installation">Online Installation</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/installation/snigdha-os-on-virtual-box">VirtualBox Installation</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link" href="/documentation/category/post-installation">Post Installation</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/post-installation/snigdha-os-language-pack">Language</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/post-installation/update-snigdha-os">Update Snigdha OS</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/post-installation/customize-snigdha-os">Customize Snigdha OS</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/post-installation/install-packages-on-snigdha-os">Install Packages</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--active" href="/documentation/category/user-guide">User Guide</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/user-guide/snigdha-os-terminal-shortcuts">Introduction to Terminal</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/documentation/user-guide/snigdha-os-command-shorcuts">Shortcut for Developers</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/user-guide/snigdha-os-and-aur">Installing with AUR</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/user-guide/snigdha-os-and-chaotic-aur">Chaotic AUR</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link" href="/documentation/category/troubleshoot">Troubleshoot</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/troubleshoot/troubleshoot-wifi-on-snigdha-os">Troubleshooting Wi-Fi Issues</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/troubleshoot/troubleshoot-display-problem-on-snigdha-os">Troubleshooting Display Issues</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/troubleshoot/troubleshoot-sound-on-snigdha-os">Troubleshooting Sound Issues</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/documentation/troubleshoot/troubleshoot-nvidia-on-snigdha-os">Troubleshooting NVIDIA Issues</a></li></ul></li></ul></nav></div></div></aside><main class="docMainContainer_tc5v"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_Gtcw"><div class="docItemContainer_TPzz"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_m1rm" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/documentation/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_EECA"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item"><a class="breadcrumbs__link" itemprop="item" href="/documentation/category/user-guide"><span itemprop="name">User Guide</span></a><meta itemprop="position" content="1"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Shortcut for Developers</span><meta itemprop="position" content="2"></li></ul></nav><div class="tocCollapsible_dmgG theme-doc-toc-mobile tocMobile_njoT"><button type="button" class="clean-btn tocCollapsibleButton_xeGY">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Shortcut for Developers</h1></header>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="git-commands--aliases">Git Commands &amp; Aliases<a href="#git-commands--aliases" class="hash-link" aria-label="Direct link to Git Commands &amp; Aliases" title="Direct link to Git Commands &amp; Aliases"></a></h3>
<p>Here are your Git aliases with explanations and emojis for easy reference:</p>
<ul>
<li>
<p><strong><code>alias gs=&quot;git status&quot;</code></strong> 📜:<br>
<!-- -->Show the current status of the Git repository (modified files, untracked files, etc.).</p>
</li>
<li>
<p><strong><code>alias ga=&quot;git add&quot;</code></strong> :<br>
<!-- -->Stage changes for commit (adds a file to the staging area).</p>
</li>
<li>
<p><strong><code>alias gaa=&quot;git add --all&quot;</code></strong> 📥:<br>
<!-- -->Stage all modified, deleted, and untracked files for commit.</p>
</li>
<li>
<p><strong><code>alias gc=&quot;git commit&quot;</code></strong> ✏️:<br>
<!-- -->Commit the staged changes to the repository.</p>
</li>
<li>
<p><strong><code>alias gca=&quot;git commit --amend&quot;</code></strong> 🔄✏️:<br>
<!-- -->Amend the last commit (useful for correcting commit messages or adding more changes).</p>
</li>
<li>
<p><strong><code>alias gcm=&quot;git commit -m&quot;</code></strong> 📝💬:<br>
<!-- -->Commit changes with a specific commit message.</p>
</li>
<li>
<p><strong><code>alias gco=&quot;git checkout&quot;</code></strong> 🔀:<br>
<!-- -->Switch branches or restore working directory files.</p>
</li>
<li>
<p><strong><code>alias gbr=&quot;git branch&quot;</code></strong> 🌿:<br>
<!-- -->List, create, or delete Git branches.</p>
</li>
<li>
<p><strong><code>alias gb=&quot;git branch&quot;</code></strong> 🌱:<br>
<!-- -->List all branches in the repository.</p>
</li>
<li>
<p><strong><code>alias gl=&quot;git log&quot;</code></strong> 📖:<br>
<!-- -->View the commit history with details like author and message.</p>
</li>
<li>
<p><strong><code>alias glg=&quot;git log --oneline --graph --all&quot;</code></strong> 🗂️📊:<br>
<!-- -->View a visualized, condensed commit history (one-line format with a graph showing branching and merging).</p>
</li>
<li>
<p><strong><code>alias gst=&quot;git stash&quot;</code></strong> 🗂️🔒:<br>
<!-- -->Temporarily save changes that are not ready for commit.</p>
</li>
<li>
<p><strong><code>alias gpo=&quot;git push origin&quot;</code></strong> 🚀🌍:<br>
<!-- -->Push your local commits to the remote repository on the <code>origin</code> remote.</p>
</li>
<li>
<p><strong><code>alias gpl=&quot;git pull&quot;</code></strong> 🔄🔃:<br>
<!-- -->Pull changes from the remote repository (fetch and merge).</p>
</li>
<li>
<p><strong><code>alias gup=&quot;git pull --rebase&quot;</code></strong> 🔄📅:<br>
<!-- -->Pull changes from the remote repository but rebase your local commits on top of the remote branch.</p>
</li>
<li>
<p><strong><code>alias gd=&quot;git diff&quot;</code></strong> 🔍📝:<br>
<!-- -->Show changes between commits, working directory, and staged changes.</p>
</li>
<li>
<p><strong><code>alias gds=&quot;git diff --staged&quot;</code></strong> 📑:<br>
<!-- -->Show the differences between the staged changes and the last commit.</p>
</li>
<li>
<p><strong><code>alias gls=&quot;git ls-files&quot;</code></strong> 🗃️:<br>
<!-- -->List all files currently tracked by Git in the repository.</p>
</li>
<li>
<p><strong><code>alias gcl=&quot;git clone&quot;</code></strong> 🛠️:<br>
<!-- -->Clone a Git repository into a new directory.</p>
</li>
<li>
<p><strong><code>alias gtag=&quot;git tag&quot;</code></strong> 🏷️:<br>
<!-- -->Create, list, or delete tags in the Git repository.</p>
</li>
</ul>
<p>These Git aliases provide quick access to common Git operations, making version control more efficient and saving you time while working with Git repositories.</p>
<p>Here are the explanations for your aliases across various tools, with some added emojis to make them more visually engaging:</p>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="npm-aliases">npm Aliases<a href="#npm-aliases" class="hash-link" aria-label="Direct link to npm Aliases" title="Direct link to npm Aliases"></a></h3>
<ul>
<li>
<p><strong><code>ni=&quot;npm install&quot;</code></strong> 🛠️:<br>
<!-- -->Install dependencies for the project.</p>
</li>
<li>
<p><strong><code>nis=&quot;npm install --save&quot;</code></strong> 💾:<br>
<!-- -->Install and save the package in the <code>dependencies</code> section of <code>package.json</code>.</p>
</li>
<li>
<p><strong><code>nisdev=&quot;npm install --save-dev&quot;</code></strong> 🛠️🔧:<br>
<!-- -->Install and save the package as a development dependency.</p>
</li>
<li>
<p><strong><code>nup=&quot;npm update&quot;</code></strong> 🔄:<br>
<!-- -->Update all installed npm packages to their latest versions.</p>
</li>
<li>
<p><strong><code>nstart=&quot;npm start&quot;</code></strong> ▶️:<br>
<!-- -->Start the application (runs the start script).</p>
</li>
<li>
<p><strong><code>nrun=&quot;npm run&quot;</code></strong> ▶️💻:<br>
<!-- -->Run any custom npm script defined in <code>package.json</code>.</p>
</li>
<li>
<p><strong><code>ntest=&quot;npm test&quot;</code></strong> 🧪:<br>
<!-- -->Run tests defined in the <code>test</code> script.</p>
</li>
<li>
<p><strong><code>nls=&quot;npm ls&quot;</code></strong> 📜:<br>
<!-- -->List all installed packages in the current project.</p>
</li>
<li>
<p><strong><code>nci=&quot;npm ci&quot;</code></strong> ⚡:<br>
<!-- -->Perform a clean install (faster and more predictable than <code>npm install</code>).</p>
</li>
<li>
<p><strong><code>nfund=&quot;npm fund&quot;</code></strong> 💰:<br>
<!-- -->Show the funding information for your project&#x27;s dependencies.</p>
</li>
<li>
<p><strong><code>npublish=&quot;npm publish&quot;</code></strong> 📦:<br>
<!-- -->Publish your package to the npm registry.</p>
</li>
<li>
<p><strong><code>nversion=&quot;npm version&quot;</code></strong> 🔢:<br>
<!-- -->View and manage versioning for your project.</p>
</li>
<li>
<p><strong><code>nrm=&quot;npm run&quot;</code></strong> 🔄:<br>
<!-- -->Run a specific npm script.</p>
</li>
<li>
<p><strong><code>nout=&quot;npm outdated&quot;</code></strong> ⏳:<br>
<!-- -->Check for outdated packages in your project.</p>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="pnpm-aliases">pnpm Aliases<a href="#pnpm-aliases" class="hash-link" aria-label="Direct link to pnpm Aliases" title="Direct link to pnpm Aliases"></a></h3>
<ul>
<li>
<p><strong><code>pni=&quot;pnpm install&quot;</code></strong> 🛠️:<br>
<!-- -->Install dependencies using pnpm.</p>
</li>
<li>
<p><strong><code>pnis=&quot;pnpm install --save&quot;</code></strong> 💾:<br>
<!-- -->Install and save the package in <code>dependencies</code>.</p>
</li>
<li>
<p><strong><code>pnisdev=&quot;pnpm install --save-dev&quot;</code></strong> 🛠️🔧:<br>
<!-- -->Install and save the package as a development dependency.</p>
</li>
<li>
<p><strong><code>pnm=&quot;pnpm manager&quot;</code></strong> ⚙️:<br>
<!-- -->Use pnpm as the package manager.</p>
</li>
<li>
<p><strong><code>pnup=&quot;pnpm update&quot;</code></strong> 🔄:<br>
<!-- -->Update all installed pnpm packages.</p>
</li>
<li>
<p><strong><code>pnstart=&quot;pnpm start&quot;</code></strong> ▶️:<br>
<!-- -->Start the application with pnpm.</p>
</li>
<li>
<p><strong><code>pnrun=&quot;pnpm run&quot;</code></strong> ▶️💻:<br>
<!-- -->Run any script defined in <code>package.json</code> using pnpm.</p>
</li>
<li>
<p><strong><code>pntest=&quot;pnpm test&quot;</code></strong> 🧪:<br>
<!-- -->Run tests defined in the <code>test</code> script using pnpm.</p>
</li>
<li>
<p><strong><code>pnls=&quot;pnpm list&quot;</code></strong> 📜:<br>
<!-- -->List all installed pnpm packages.</p>
</li>
<li>
<p><strong><code>pnci=&quot;pnpm ci&quot;</code></strong> ⚡:<br>
<!-- -->Perform a clean install with pnpm.</p>
</li>
<li>
<p><strong><code>pnpublish=&quot;pnpm publish&quot;</code></strong> 📦:<br>
<!-- -->Publish a package to the pnpm registry.</p>
</li>
<li>
<p><strong><code>pnversion=&quot;pnpm version&quot;</code></strong> 🔢:<br>
<!-- -->View and manage versioning for your pnpm project.</p>
</li>
<li>
<p><strong><code>pnout=&quot;pnpm outdated&quot;</code></strong> ⏳:<br>
<!-- -->Check for outdated pnpm packages.</p>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="python-aliases">Python Aliases<a href="#python-aliases" class="hash-link" aria-label="Direct link to Python Aliases" title="Direct link to Python Aliases"></a></h3>
<ul>
<li>
<p><strong><code>py=&quot;python&quot;</code></strong> 🐍:<br>
<!-- -->Shortcut for the Python interpreter.</p>
</li>
<li>
<p><strong><code>py3=&quot;python3&quot;</code></strong> 🐍3:<br>
<!-- -->Shortcut for Python 3 interpreter.</p>
</li>
<li>
<p><strong><code>pip=&quot;pip3&quot;</code></strong> 📦:<br>
<!-- -->Use <code>pip3</code> to manage Python packages.</p>
</li>
<li>
<p><strong><code>pipup=&quot;pip install --upgrade&quot;</code></strong> ⬆️📦:<br>
<!-- -->Upgrade pip packages.</p>
</li>
<li>
<p><strong><code>pyvenv=&quot;python3 -m venv&quot;</code></strong> 🐍🧳:<br>
<!-- -->Create a Python virtual environment.</p>
</li>
<li>
<p><strong><code>pyactivate=&quot;source venv/bin/activate&quot;</code></strong> 🔑:<br>
<!-- -->Activate a Python virtual environment.</p>
</li>
<li>
<p><strong><code>pydeactivate=&quot;deactivate&quot;</code></strong> ❌:<br>
<!-- -->Deactivate the current Python virtual environment.</p>
</li>
<li>
<p><strong><code>pyrun=&quot;python&quot;</code></strong> 🐍🏃‍♂️:<br>
<!-- -->Run a Python script.</p>
</li>
<li>
<p><strong><code>pycheck=&quot;python -m py_compile&quot;</code></strong> 🔍📝:<br>
<!-- -->Check Python script syntax without running it.</p>
</li>
<li>
<p><strong><code>pytest=&quot;python -m pytest&quot;</code></strong> 🧪:<br>
<!-- -->Run tests with pytest.</p>
</li>
<li>
<p><strong><code>pydoc=&quot;python -m pydoc&quot;</code></strong> 📚:<br>
<!-- -->Launch Python documentation server.</p>
</li>
<li>
<p><strong><code>pylist=&quot;pip list&quot;</code></strong> 📜:<br>
<!-- -->List installed Python packages.</p>
</li>
<li>
<p><strong><code>pyfreeze=&quot;pip freeze&quot;</code></strong> ❄️:<br>
<!-- -->List installed packages in <code>requirements.txt</code> format.</p>
</li>
<li>
<p><strong><code>pyinstall=&quot;pip install&quot;</code></strong> 📦:<br>
<!-- -->Install Python packages.</p>
</li>
<li>
<p><strong><code>pyuninstall=&quot;pip uninstall&quot;</code></strong> ❌📦:<br>
<!-- -->Uninstall Python packages.</p>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="c-aliases">C++ Aliases<a href="#c-aliases" class="hash-link" aria-label="Direct link to C++ Aliases" title="Direct link to C++ Aliases"></a></h3>
<ul>
<li>
<p><strong><code>cpp-compile=&quot;g++ -std=c++17 -Wall -Wextra -o output&quot;</code></strong> ⚙️📦:<br>
<!-- -->Compile C++ code with standard C++17 features and output as <code>output</code>.</p>
</li>
<li>
<p><strong><code>cpp-run=&quot;g++ -std=c++17 -Wall -Wextra -o output &amp;&amp; ./output&quot;</code></strong> ▶️:<br>
<!-- -->Compile and run a C++ program.</p>
</li>
<li>
<p><strong><code>cpp-compile-opt=&quot;g++ -std=c++17 -O2 -Wall -Wextra -o output&quot;</code></strong> ⚙️🔧:<br>
<!-- -->Compile C++ code with optimizations (<code>-O2</code>).</p>
</li>
<li>
<p><strong><code>cpp-clean=&quot;rm -f output&quot;</code></strong> 🧹:<br>
<!-- -->Remove the compiled output file.</p>
</li>
<li>
<p><strong><code>cpp-build-all=&quot;g++ -std=c++17 -Wall -Wextra *.cpp -o output&quot;</code></strong> 🔨:<br>
<!-- -->Compile all <code>.cpp</code> files in the directory.</p>
</li>
<li>
<p><strong><code>cpp-edit=&quot;nano&quot;</code></strong> ✏️:<br>
<!-- -->Open the code in the <code>nano</code> text editor.</p>
</li>
<li>
<p><strong><code>cpp-exec=&quot;./output&quot;</code></strong> ▶️💻:<br>
<!-- -->Execute the compiled output.</p>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="c-aliases-1">C Aliases<a href="#c-aliases-1" class="hash-link" aria-label="Direct link to C Aliases" title="Direct link to C Aliases"></a></h3>
<ul>
<li>
<p><strong><code>c-compile=&quot;gcc -std=c11 -Wall -Wextra -o output&quot;</code></strong> ⚙️📦:<br>
<!-- -->Compile C code with standard C11 features and output as <code>output</code>.</p>
</li>
<li>
<p><strong><code>c-run=&quot;gcc -std=c11 -Wall -Wextra -o output &amp;&amp; ./output&quot;</code></strong> ▶️:<br>
<!-- -->Compile and run a C program.</p>
</li>
<li>
<p><strong><code>c-compile-opt=&quot;gcc -std=c11 -O2 -Wall -Wextra -o output&quot;</code></strong> ⚙️🔧:<br>
<!-- -->Compile C code with optimizations (<code>-O2</code>).</p>
</li>
<li>
<p><strong><code>c-clean=&quot;rm -f output&quot;</code></strong> 🧹:<br>
<!-- -->Remove the compiled output file.</p>
</li>
<li>
<p><strong><code>c-build-all=&quot;gcc -std=c11 -Wall -Wextra *.c -o output&quot;</code></strong> 🔨:<br>
<!-- -->Compile all <code>.c</code> files in the directory.</p>
</li>
<li>
<p><strong><code>c-edit=&quot;nano&quot;</code></strong> ✏️:<br>
<!-- -->Open the code in the <code>nano</code> text editor.</p>
</li>
<li>
<p><strong><code>c-exec=&quot;./output&quot;</code></strong> ▶️💻:<br>
<!-- -->Execute the compiled output.</p>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_Nmox" id="rust-aliases">Rust Aliases<a href="#rust-aliases" class="hash-link" aria-label="Direct link to Rust Aliases" title="Direct link to Rust Aliases"></a></h3>
<ul>
<li>
<p><strong><code>rustc=&quot;rustc&quot;</code></strong> ⚙️:<br>
<!-- -->Compile Rust programs using the <code>rustc</code> compiler.</p>
</li>
<li>
<p><strong><code>rust-run=&quot;cargo run&quot;</code></strong> ▶️📦:<br>
<!-- -->Run the current Rust project.</p>
</li>
<li>
<p><strong><code>rust-build=&quot;cargo build&quot;</code></strong> 🏗️:<br>
<!-- -->Build the current Rust project.</p>
</li>
<li>
<p><strong><code>rust-build-rel=&quot;cargo build --release&quot;</code></strong> 🏗️🚀:<br>
<!-- -->Build the project in release mode for optimizations.</p>
</li>
<li>
<p><strong><code>rust-test=&quot;cargo test&quot;</code></strong> 🧪:<br>
<!-- -->Run tests for the current project.</p>
</li>
<li>
<p><strong><code>rust-clean=&quot;cargo clean&quot;</code></strong> 🧹:<br>
<!-- -->Clean the build directory.</p>
</li>
<li>
<p><strong><code>rust-fmt=&quot;cargo fmt&quot;</code></strong> 🔧📐:<br>
<!-- -->Format the Rust code.</p>
</li>
<li>
<p><strong><code>rust-clippy=&quot;cargo clippy&quot;</code></strong> 🔍:<br>
<!-- -->Run Clippy to check the code for potential issues.</p>
</li>
<li>
<p><strong><code>rust-doc=&quot;cargo doc --open&quot;</code></strong> 📚:<br>
<!-- -->Generate and open Rust documentation.</p>
</li>
<li>
<p><strong><code>rust-new=&quot;cargo new&quot;</code></strong> 🛠️📦:<br>
<!-- -->Create a new Rust project.</p>
</li>
<li>
<p><strong><code>rust-init=&quot;cargo init&quot;</code></strong> ⚙️:<br>
<!-- -->Initialize a new Rust project in an existing directory.</p>
</li>
<li>
<p><strong><code>rust-add=&quot;cargo add&quot;</code></strong> :<br>
<!-- -->Add a dependency to the Rust project.</p>
</li>
<li>
<p><strong><code>rust-upd=&quot;rustup update&quot;</code></strong> 🔄:<br>
<!-- -->Update the Rust toolchain.</p>
</li>
<li>
<p><strong><code>rust-ver=&quot;rustc --version&quot;</code></strong> 📅:<br>
<!-- -->Display the version of <code>rustc</code>.</p>
</li>
<li>
<p><strong><code>rust-watch=&quot;cargo watch -x run&quot;</code></strong> 👀:<br>
<!-- -->Watch for changes in the Rust project and run automatically.</p>
</li>
<li>
<p><strong><code>rust-deps=&quot;cargo tree&quot;</code></strong> 🗂️:<br>
<!-- -->Show the dependency tree of the Rust project.</p>
</li>
<li>
<p><strong><code>rust-check=&quot;cargo check&quot;</code></strong> ✅:<br>
<!-- -->Check the code for errors without building it.</p>
</li>
<li>
<p><strong><code>rust-ls=&quot;ls -alh --color=auto&quot;</code></strong> 📂:<br>
<!-- -->List the project directory contents with detailed info.</p>
</li>
</ul>
<p>These aliases will help streamline your workflow in a variety of languages and package managers!</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col"><a href="https://github.com/Snigdha-OS/documentation/tree/master/docs/user-guide/snigdha-os-command-shorcuts.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_KA8x" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_IRpf"><span class="theme-last-updated">Last updated<!-- --> on <b><time datetime="2024-12-30T06:32:48.000Z" itemprop="dateModified">Dec 30, 2024</time></b></span></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/documentation/user-guide/snigdha-os-terminal-shortcuts"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Introduction to Terminal</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/documentation/user-guide/snigdha-os-and-aur"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Installing with AUR</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_IGls thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#git-commands--aliases" class="table-of-contents__link toc-highlight">Git Commands &amp; Aliases</a></li><li><a href="#npm-aliases" class="table-of-contents__link toc-highlight">npm Aliases</a></li><li><a href="#pnpm-aliases" class="table-of-contents__link toc-highlight">pnpm Aliases</a></li><li><a href="#python-aliases" class="table-of-contents__link toc-highlight">Python Aliases</a></li><li><a href="#c-aliases" class="table-of-contents__link toc-highlight">C++ Aliases</a></li><li><a href="#c-aliases-1" class="table-of-contents__link toc-highlight">C Aliases</a></li><li><a href="#rust-aliases" class="table-of-contents__link toc-highlight">Rust Aliases</a></li></ul></div></div></div></div></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Snigdha OS. Powered by Tonmoy Infrastructure.</div></div></div></footer></div>
</body>
</html>