mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-06 19:15:12 +02:00
414 lines
38 KiB
HTML
414 lines
38 KiB
HTML
<!doctype html>
|
||
<html lang="bn" 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/bn/img/snigdhaos-og.png"><meta data-rh="true" name="twitter:image" content="https://snigdhaos.org/documentation/bn/img/snigdhaos-og.png"><meta data-rh="true" property="og:url" content="https://snigdhaos.org/documentation/bn/user-guide/snigdha-os-command-shorcuts"><meta data-rh="true" property="og:locale" content="bn"><meta data-rh="true" property="og:locale:alternate" content="en"><meta data-rh="true" property="og:locale:alternate" content="hi"><meta data-rh="true" name="docusaurus_locale" content="bn"><meta data-rh="true" name="docsearch:language" content="bn"><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 & Aliases"><meta data-rh="true" property="og:description" content="Git Commands & Aliases"><link data-rh="true" rel="icon" href="/documentation/bn/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://snigdhaos.org/documentation/bn/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/user-guide/snigdha-os-command-shorcuts" hreflang="x-default"><link rel="stylesheet" href="/documentation/bn/assets/css/styles.433c78d8.css">
|
||
<script src="/documentation/bn/assets/js/runtime~main.3d0af354.js" defer="defer"></script>
|
||
<script src="/documentation/bn/assets/js/main.215c4bb9.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="স্কিপ করে মূল কন্টেন্ট এ যান"><a class="skipToContent_lteo" href="#__docusaurus_skipToContent_fallback">স্কিপ করে মূল কন্টেন্ট এ যান</a></div><nav aria-label="প্রধান" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="নেভিগেশন বার টগল করুন" 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/bn/"><div class="navbar__logo"><img src="/documentation/bn/img/logo.svg" alt="স্নিগ্ধা ওএস লোগো" class="themedComponent_KcS7 themedComponent--light_PHcV"><img src="/documentation/bn/img/logo.svg" alt="স্নিগ্ধা ওএস লোগো" class="themedComponent_KcS7 themedComponent--dark_hDFb"></div><b class="navbar__title text--truncate">প্লেবুক | স্নিগ্ধা ওএস</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>বাংলা</a><ul class="dropdown__menu"><li><a href="/documentation/user-guide/snigdha-os-command-shorcuts" target="_self" rel="noopener noreferrer" class="dropdown__link" 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 dropdown__link--active" lang="bn">বাংলা</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="ডার্ক এবং লাইট মোডের মধ্যে স্যুইচ করুন (বর্তমানে লাইট মোড)" aria-label="ডার্ক এবং লাইট মোডের মধ্যে স্যুইচ করুন (বর্তমানে লাইট মোড)" 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="উপরে স্ক্রোল করুন" 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/bn/category/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/bn/">পরিচিতি</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/bn/introduction/name-and-story-of-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/bn/introduction/motivation-behind-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/bn/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/bn/introduction/snigdha-os-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/bn/introduction/contribution-guidelines-for-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/bn/introduction/snigdha-os-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/bn/introduction/faq-snigdha-os">সাধারণ জিজ্ঞাসা (FAQ)</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/bn/category/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/bn/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/bn/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/bn/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/bn/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/bn/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/bn/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/bn/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/bn/category/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/bn/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/bn/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/bn/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/bn/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/bn/category/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/bn/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/bn/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/bn/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/bn/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/bn/category/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/bn/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/bn/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/bn/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/bn/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="হোম পেজ" class="breadcrumbs__link" href="/documentation/bn/"><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/bn/category/user-guide"><span itemprop="name">ব্যবহারকারীর নির্দেশিকা</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">এই পেজ এ রয়েছে</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 & Aliases<a href="#git-commands--aliases" class="hash-link" aria-label="Git Commands & Aliases এর সঙ্গে সরাসরি লিংকড" title="Git Commands & Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<p>Here are your Git aliases with explanations and emojis for easy reference:</p>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>alias gs="git status"</code></strong> 📜:<br>
|
||
<!-- -->Show the current status of the Git repository (modified files, untracked files, etc.).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias ga="git add"</code></strong> ➕:<br>
|
||
<!-- -->Stage changes for commit (adds a file to the staging area).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gaa="git add --all"</code></strong> 📥:<br>
|
||
<!-- -->Stage all modified, deleted, and untracked files for commit.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gc="git commit"</code></strong> ✏️:<br>
|
||
<!-- -->Commit the staged changes to the repository.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gca="git commit --amend"</code></strong> 🔄✏️:<br>
|
||
<!-- -->Amend the last commit (useful for correcting commit messages or adding more changes).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gcm="git commit -m"</code></strong> 📝💬:<br>
|
||
<!-- -->Commit changes with a specific commit message.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gco="git checkout"</code></strong> 🔀:<br>
|
||
<!-- -->Switch branches or restore working directory files.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gbr="git branch"</code></strong> 🌿:<br>
|
||
<!-- -->List, create, or delete Git branches.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gb="git branch"</code></strong> 🌱:<br>
|
||
<!-- -->List all branches in the repository.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gl="git log"</code></strong> 📖:<br>
|
||
<!-- -->View the commit history with details like author and message.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias glg="git log --oneline --graph --all"</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="git stash"</code></strong> 🗂️🔒:<br>
|
||
<!-- -->Temporarily save changes that are not ready for commit.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gpo="git push origin"</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="git pull"</code></strong> 🔄🔃:<br>
|
||
<!-- -->Pull changes from the remote repository (fetch and merge).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gup="git pull --rebase"</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="git diff"</code></strong> 🔍📝:<br>
|
||
<!-- -->Show changes between commits, working directory, and staged changes.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gds="git diff --staged"</code></strong> 📑:<br>
|
||
<!-- -->Show the differences between the staged changes and the last commit.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gls="git ls-files"</code></strong> 🗃️:<br>
|
||
<!-- -->List all files currently tracked by Git in the repository.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gcl="git clone"</code></strong> 🛠️:<br>
|
||
<!-- -->Clone a Git repository into a new directory.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>alias gtag="git tag"</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="npm Aliases এর সঙ্গে সরাসরি লিংকড" title="npm Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>ni="npm install"</code></strong> 🛠️:<br>
|
||
<!-- -->Install dependencies for the project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nis="npm install --save"</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="npm install --save-dev"</code></strong> 🛠️🔧:<br>
|
||
<!-- -->Install and save the package as a development dependency.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nup="npm update"</code></strong> 🔄:<br>
|
||
<!-- -->Update all installed npm packages to their latest versions.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nstart="npm start"</code></strong> ▶️:<br>
|
||
<!-- -->Start the application (runs the start script).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nrun="npm run"</code></strong> ▶️💻:<br>
|
||
<!-- -->Run any custom npm script defined in <code>package.json</code>.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>ntest="npm test"</code></strong> 🧪:<br>
|
||
<!-- -->Run tests defined in the <code>test</code> script.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nls="npm ls"</code></strong> 📜:<br>
|
||
<!-- -->List all installed packages in the current project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nci="npm ci"</code></strong> ⚡:<br>
|
||
<!-- -->Perform a clean install (faster and more predictable than <code>npm install</code>).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nfund="npm fund"</code></strong> 💰:<br>
|
||
<!-- -->Show the funding information for your project's dependencies.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>npublish="npm publish"</code></strong> 📦:<br>
|
||
<!-- -->Publish your package to the npm registry.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nversion="npm version"</code></strong> 🔢:<br>
|
||
<!-- -->View and manage versioning for your project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nrm="npm run"</code></strong> 🔄:<br>
|
||
<!-- -->Run a specific npm script.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>nout="npm outdated"</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="pnpm Aliases এর সঙ্গে সরাসরি লিংকড" title="pnpm Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>pni="pnpm install"</code></strong> 🛠️:<br>
|
||
<!-- -->Install dependencies using pnpm.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnis="pnpm install --save"</code></strong> 💾:<br>
|
||
<!-- -->Install and save the package in <code>dependencies</code>.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnisdev="pnpm install --save-dev"</code></strong> 🛠️🔧:<br>
|
||
<!-- -->Install and save the package as a development dependency.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnm="pnpm manager"</code></strong> ⚙️:<br>
|
||
<!-- -->Use pnpm as the package manager.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnup="pnpm update"</code></strong> 🔄:<br>
|
||
<!-- -->Update all installed pnpm packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnstart="pnpm start"</code></strong> ▶️:<br>
|
||
<!-- -->Start the application with pnpm.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnrun="pnpm run"</code></strong> ▶️💻:<br>
|
||
<!-- -->Run any script defined in <code>package.json</code> using pnpm.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pntest="pnpm test"</code></strong> 🧪:<br>
|
||
<!-- -->Run tests defined in the <code>test</code> script using pnpm.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnls="pnpm list"</code></strong> 📜:<br>
|
||
<!-- -->List all installed pnpm packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnci="pnpm ci"</code></strong> ⚡:<br>
|
||
<!-- -->Perform a clean install with pnpm.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnpublish="pnpm publish"</code></strong> 📦:<br>
|
||
<!-- -->Publish a package to the pnpm registry.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnversion="pnpm version"</code></strong> 🔢:<br>
|
||
<!-- -->View and manage versioning for your pnpm project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pnout="pnpm outdated"</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="Python Aliases এর সঙ্গে সরাসরি লিংকড" title="Python Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>py="python"</code></strong> 🐍:<br>
|
||
<!-- -->Shortcut for the Python interpreter.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>py3="python3"</code></strong> 🐍3:<br>
|
||
<!-- -->Shortcut for Python 3 interpreter.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pip="pip3"</code></strong> 📦:<br>
|
||
<!-- -->Use <code>pip3</code> to manage Python packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pipup="pip install --upgrade"</code></strong> ⬆️📦:<br>
|
||
<!-- -->Upgrade pip packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyvenv="python3 -m venv"</code></strong> 🐍🧳:<br>
|
||
<!-- -->Create a Python virtual environment.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyactivate="source venv/bin/activate"</code></strong> 🔑:<br>
|
||
<!-- -->Activate a Python virtual environment.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pydeactivate="deactivate"</code></strong> ❌:<br>
|
||
<!-- -->Deactivate the current Python virtual environment.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyrun="python"</code></strong> 🐍🏃♂️:<br>
|
||
<!-- -->Run a Python script.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pycheck="python -m py_compile"</code></strong> 🔍📝:<br>
|
||
<!-- -->Check Python script syntax without running it.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pytest="python -m pytest"</code></strong> 🧪:<br>
|
||
<!-- -->Run tests with pytest.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pydoc="python -m pydoc"</code></strong> 📚:<br>
|
||
<!-- -->Launch Python documentation server.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pylist="pip list"</code></strong> 📜:<br>
|
||
<!-- -->List installed Python packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyfreeze="pip freeze"</code></strong> ❄️:<br>
|
||
<!-- -->List installed packages in <code>requirements.txt</code> format.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyinstall="pip install"</code></strong> 📦:<br>
|
||
<!-- -->Install Python packages.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>pyuninstall="pip uninstall"</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="C++ Aliases এর সঙ্গে সরাসরি লিংকড" title="C++ Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>cpp-compile="g++ -std=c++17 -Wall -Wextra -o output"</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="g++ -std=c++17 -Wall -Wextra -o output && ./output"</code></strong> ▶️:<br>
|
||
<!-- -->Compile and run a C++ program.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>cpp-compile-opt="g++ -std=c++17 -O2 -Wall -Wextra -o output"</code></strong> ⚙️🔧:<br>
|
||
<!-- -->Compile C++ code with optimizations (<code>-O2</code>).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>cpp-clean="rm -f output"</code></strong> 🧹:<br>
|
||
<!-- -->Remove the compiled output file.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>cpp-build-all="g++ -std=c++17 -Wall -Wextra *.cpp -o output"</code></strong> 🔨:<br>
|
||
<!-- -->Compile all <code>.cpp</code> files in the directory.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>cpp-edit="nano"</code></strong> ✏️:<br>
|
||
<!-- -->Open the code in the <code>nano</code> text editor.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>cpp-exec="./output"</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="C Aliases এর সঙ্গে সরাসরি লিংকড" title="C Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>c-compile="gcc -std=c11 -Wall -Wextra -o output"</code></strong> ⚙️📦:<br>
|
||
<!-- -->Compile C code with standard C11 features and output as <code>output</code>.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-run="gcc -std=c11 -Wall -Wextra -o output && ./output"</code></strong> ▶️:<br>
|
||
<!-- -->Compile and run a C program.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-compile-opt="gcc -std=c11 -O2 -Wall -Wextra -o output"</code></strong> ⚙️🔧:<br>
|
||
<!-- -->Compile C code with optimizations (<code>-O2</code>).</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-clean="rm -f output"</code></strong> 🧹:<br>
|
||
<!-- -->Remove the compiled output file.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-build-all="gcc -std=c11 -Wall -Wextra *.c -o output"</code></strong> 🔨:<br>
|
||
<!-- -->Compile all <code>.c</code> files in the directory.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-edit="nano"</code></strong> ✏️:<br>
|
||
<!-- -->Open the code in the <code>nano</code> text editor.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>c-exec="./output"</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="Rust Aliases এর সঙ্গে সরাসরি লিংকড" title="Rust Aliases এর সঙ্গে সরাসরি লিংকড"></a></h3>
|
||
<ul>
|
||
<li>
|
||
<p><strong><code>rustc="rustc"</code></strong> ⚙️:<br>
|
||
<!-- -->Compile Rust programs using the <code>rustc</code> compiler.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-run="cargo run"</code></strong> ▶️📦:<br>
|
||
<!-- -->Run the current Rust project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-build="cargo build"</code></strong> 🏗️:<br>
|
||
<!-- -->Build the current Rust project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-build-rel="cargo build --release"</code></strong> 🏗️🚀:<br>
|
||
<!-- -->Build the project in release mode for optimizations.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-test="cargo test"</code></strong> 🧪:<br>
|
||
<!-- -->Run tests for the current project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-clean="cargo clean"</code></strong> 🧹:<br>
|
||
<!-- -->Clean the build directory.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-fmt="cargo fmt"</code></strong> 🔧📐:<br>
|
||
<!-- -->Format the Rust code.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-clippy="cargo clippy"</code></strong> 🔍:<br>
|
||
<!-- -->Run Clippy to check the code for potential issues.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-doc="cargo doc --open"</code></strong> 📚:<br>
|
||
<!-- -->Generate and open Rust documentation.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-new="cargo new"</code></strong> 🛠️📦:<br>
|
||
<!-- -->Create a new Rust project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-init="cargo init"</code></strong> ⚙️:<br>
|
||
<!-- -->Initialize a new Rust project in an existing directory.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-add="cargo add"</code></strong> ➕:<br>
|
||
<!-- -->Add a dependency to the Rust project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-upd="rustup update"</code></strong> 🔄:<br>
|
||
<!-- -->Update the Rust toolchain.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-ver="rustc --version"</code></strong> 📅:<br>
|
||
<!-- -->Display the version of <code>rustc</code>.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-watch="cargo watch -x run"</code></strong> 👀:<br>
|
||
<!-- -->Watch for changes in the Rust project and run automatically.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-deps="cargo tree"</code></strong> 🗂️:<br>
|
||
<!-- -->Show the dependency tree of the Rust project.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-check="cargo check"</code></strong> ✅:<br>
|
||
<!-- -->Check the code for errors without building it.</p>
|
||
</li>
|
||
<li>
|
||
<p><strong><code>rust-ls="ls -alh --color=auto"</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>এই পেজটি এডিট করুন</a></div><div class="col lastUpdated_IRpf"><span class="theme-last-updated">সর্বশেষ সংষ্করণ<!-- --> <b><time datetime="2024-12-30T06:32:48.000Z" itemprop="dateModified">৩০ ডিসে, ২০২৪</time></b> তারিখে</span></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="ডক্স পেজ"><a class="pagination-nav__link pagination-nav__link--prev" href="/documentation/bn/user-guide/snigdha-os-terminal-shortcuts"><div class="pagination-nav__sublabel">পূর্ববর্তী</div><div class="pagination-nav__label">Introduction to Terminal</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/documentation/bn/user-guide/snigdha-os-and-aur"><div class="pagination-nav__sublabel">পরবর্তী</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 & 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">কপিরাইট © 2024 স্নিগ্ধা ওএস। TONMOY INFRASTRUCTURE দ্বারা চালিত।</div></div></div></footer></div>
|
||
</body>
|
||
</html> |