സൗജന്യ കൺവെർട്ടർ

Git കമാൻഡുകൾ ചീറ്റ് ഷീറ്റ്

സമഗ്രമായ Git കമാൻഡ് ചീറ്റ് ഷീറ്റ്. ഉദാഹരണങ്ങൾ, വിവരണങ്ങൾ, ഒറ്റ ക്ലിക്ക് കോപ്പി എന്നിവ ഉപയോഗിച്ച് 80+ അത്യാവശ്യ Git കമാൻഡുകൾ തിരയുക.

git config --global user.name
Set the global username for commits
ഉദാഹരണം:git config --global user.name "Your Name"
git config --global user.email
Set the global email for commits
ഉദാഹരണം:git config --global user.email "[email protected]"
git config --list
List all Git configuration settings
ഉദാഹരണം:git config --list
git config --global core.editor
Set the default text editor for Git
ഉദാഹരണം:git config --global core.editor "vim"
git init
Initialize a new Git repository in the current directory
ഉദാഹരണം:git init my-project
git clone
Clone a remote repository to your local machine
ഉദാഹരണം:git clone https://github.com/user/repo.git
git clone --depth
Shallow clone with limited history
ഉദാഹരണം:git clone --depth 1 https://github.com/user/repo.git
git add
Stage a specific file for the next commit
ഉദാഹരണം:git add src/index.js
git add .
Stage all modified and new files in the current directory
ഉദാഹരണം:git add .
git add -p
Interactively stage parts (hunks) of changed files
ഉദാഹരണം:git add -p
git status
Show the working tree status (staged, unstaged, untracked)
ഉദാഹരണം:git status
git status -s
Show a compact status summary
ഉദാഹരണം:git status -s
git diff
Show unstaged changes between working tree and index
ഉദാഹരണം:git diff src/app.js
git diff --staged
Show staged changes that will go into the next commit
ഉദാഹരണം:git diff --staged
git restore
Discard changes in the working directory
ഉദാഹരണം:git restore src/index.js
git restore --staged
Unstage a file (remove from staging area)
ഉദാഹരണം:git restore --staged src/index.js
git rm
Remove a file from the working tree and index
ഉദാഹരണം:git rm old-file.txt
git mv
Move or rename a file and stage the change
ഉദാഹരണം:git mv oldname.js newname.js
git commit -m
Record staged changes with a commit message
ഉദാഹരണം:git commit -m "feat: add login page"
git commit -am
Stage all tracked files and commit in one step
ഉദാഹരണം:git commit -am "fix: correct typo in README"
git commit --amend
Modify the most recent commit (message or content)
ഉദാഹരണം:git commit --amend -m "Updated commit message"
git log
Show the commit history for the current branch
ഉദാഹരണം:git log --oneline --graph
git log --oneline
Show compact one-line commit history
ഉദാഹരണം:git log --oneline -20
git log --author
Filter commit history by author
ഉദാഹരണം:git log --author="Alice" --oneline
git log --since
Show commits after a given date
ഉദാഹരണം:git log --since="2024-01-01" --oneline
git show
Show details of a specific commit
ഉദാഹരണം:git show abc1234
git diff HEAD
Show all changes since the last commit
ഉദാഹരണം:git diff HEAD
git shortlog
Summarize commit history grouped by author
ഉദാഹരണം:git shortlog -sn
git branch
List all local branches
ഉദാഹരണം:git branch -a
git branch <name>
Create a new branch at the current commit
ഉദാഹരണം:git branch feature/login
git branch -d
Delete a merged local branch
ഉദാഹരണം:git branch -d feature/login
git branch -D
Force-delete a branch regardless of merge status
ഉദാഹരണം:git branch -D old-branch
git branch -m
Rename the current branch
ഉദാഹരണം:git branch -m new-branch-name
git checkout
Switch to an existing branch
ഉദാഹരണം:git checkout main
git checkout -b
Create and switch to a new branch
ഉദാഹരണം:git checkout -b feature/new-ui
git switch
Switch to an existing branch (modern syntax)
ഉദാഹരണം:git switch main
git switch -c
Create and switch to a new branch (modern syntax)
ഉദാഹരണം:git switch -c feature/api-v2
git merge
Merge a branch into the current branch
ഉദാഹരണം:git merge feature/login
git merge --no-ff
Merge with a merge commit even if fast-forward is possible
ഉദാഹരണം:git merge --no-ff feature/login
git rebase
Reapply commits on top of another branch
ഉദാഹരണം:git rebase main
git rebase -i
Interactive rebase to squash, reorder, or edit commits
ഉദാഹരണം:git rebase -i HEAD~3
git remote -v
List remote connections with their URLs
ഉദാഹരണം:git remote -v
git remote add
Add a new remote repository connection
ഉദാഹരണം:git remote add origin https://github.com/user/repo.git
git remote remove
Remove a remote connection
ഉദാഹരണം:git remote remove origin
git remote set-url
Change the URL of an existing remote
ഉദാഹരണം:git remote set-url origin [email protected]:user/repo.git
git fetch
Download objects and refs from a remote without merging
ഉദാഹരണം:git fetch origin
git fetch --all
Fetch from all remotes
ഉദാഹരണം:git fetch --all
git pull
Fetch and integrate changes from a remote branch
ഉദാഹരണം:git pull origin main
git pull --rebase
Pull and rebase instead of merge
ഉദാഹരണം:git pull --rebase origin main
git push
Upload local commits to a remote branch
ഉദാഹരണം:git push origin main
git push -u
Push and set upstream tracking branch
ഉദാഹരണം:git push -u origin feature/login
git push --force-with-lease
Force push safely (fails if remote has new commits)
ഉദാഹരണം:git push --force-with-lease origin feature/login
git push --delete
Delete a remote branch
ഉദാഹരണം:git push origin --delete old-branch
git stash
Temporarily save uncommitted changes to a stack
ഉദാഹരണം:git stash push -m "WIP: half-done feature"
git stash pop
Apply the most recent stash and remove it from the stack
ഉദാഹരണം:git stash pop
git stash apply
Apply a stash without removing it from the stack
ഉദാഹരണം:git stash apply stash@{0}
git stash list
List all stashed changes
ഉദാഹരണം:git stash list
git stash drop
Remove a specific stash entry
ഉദാഹരണം:git stash drop stash@{1}
git stash clear
Remove all stashed entries
ഉദാഹരണം:git stash clear
git stash show
Show a summary of changes in a stash
ഉദാഹരണം:git stash show -p stash@{0}
git stash branch
Create a branch from a stash
ഉദാഹരണം:git stash branch feature/stashed stash@{0}
git tag
List all existing tags
ഉദാഹരണം:git tag -l "v1.*"
git tag <name>
Create a lightweight tag at the current commit
ഉദാഹരണം:git tag v1.0.0
git tag -a
Create an annotated tag with a message
ഉദാഹരണം:git tag -a v1.0.0 -m "Release version 1.0.0"
git tag -d
Delete a local tag
ഉദാഹരണം:git tag -d v1.0.0-beta
git push --tags
Push all local tags to the remote
ഉദാഹരണം:git push origin --tags
git push origin <tag>
Push a specific tag to the remote
ഉദാഹരണം:git push origin v1.0.0
git describe
Show the most recent tag reachable from the current commit
ഉദാഹരണം:git describe --tags --abbrev=0
git reset --soft
Move HEAD back, keep changes staged
ഉദാഹരണം:git reset --soft HEAD~1
git reset --mixed
Move HEAD back, unstage changes (default)
ഉദാഹരണം:git reset HEAD~1
git reset --hard
Move HEAD back and discard all changes
ഉദാഹരണം:git reset --hard HEAD~1
git revert
Create a new commit that undoes a previous commit
ഉദാഹരണം:git revert abc1234
git revert --no-commit
Revert changes without creating a commit yet
ഉദാഹരണം:git revert --no-commit abc1234
git clean -fd
Remove untracked files and directories
ഉദാഹരണം:git clean -fd
git clean -n
Dry run: show what would be removed by clean
ഉദാഹരണം:git clean -n
git checkout -- <file>
Restore a file to the last committed state
ഉദാഹരണം:git checkout -- src/index.js
git cherry-pick
Apply a specific commit from another branch
ഉദാഹരണം:git cherry-pick abc1234
git cherry-pick -n
Cherry-pick without committing (stage only)
ഉദാഹരണം:git cherry-pick -n abc1234
git bisect start
Start a binary search to find a bug-introducing commit
ഉദാഹരണം:git bisect start && git bisect bad && git bisect good v1.0
git bisect good/bad
Mark a commit as good or bad during bisect
ഉദാഹരണം:git bisect good
git reflog
Show the history of HEAD and branch tip movements
ഉദാഹരണം:git reflog --date=iso
git submodule add
Add a repository as a submodule
ഉദാഹരണം:git submodule add https://github.com/user/lib.git libs/lib
git submodule update
Initialize and update all submodules
ഉദാഹരണം:git submodule update --init --recursive
git worktree add
Check out a branch in a new working directory
ഉദാഹരണം:git worktree add ../hotfix hotfix/critical
git blame
Show who last modified each line of a file
ഉദാഹരണം:git blame -L 10,20 src/app.js
git archive
Create a zip/tar archive of a tree
ഉദാഹരണം:git archive --format=zip HEAD > release.zip

ഈ ടൂളിനെ കുറിച്ച്

git കമാൻഡുകൾക്കുള്ള സമഗ്രമായ ദ്രുത-റഫറൻസ് ഗൈഡ്. സാധാരണയായി ഉപയോഗിക്കുന്ന കമാൻഡുകൾ, വാക്യഘടന, വിഭാഗമനുസരിച്ച് ക്രമീകരിച്ച ഉദാഹരണങ്ങൾ എന്നിവ ബ്രൗസ് ചെയ്യുക. തിരയാനാവുന്നതും മൊബൈൽ-സൗഹൃദവും — നിങ്ങൾക്ക് പെട്ടെന്നുള്ള ഓർമ്മപ്പെടുത്തൽ ആവശ്യമുള്ളപ്പോൾ തൽക്ഷണ ആക്‌സസ്സിനായി ഈ പേജ് ബുക്ക്‌മാർക്ക് ചെയ്യുക.

ഉപയോഗിക്കേണ്ട വിധം

  1. തരംതിരിച്ച റഫറൻസ് വിഭാഗങ്ങൾ ബ്രൗസ് ചെയ്യുക.
  2. നിർദ്ദിഷ്ട കമാൻഡുകൾ അല്ലെങ്കിൽ വാക്യഘടന കണ്ടെത്താൻ തിരയൽ ബാർ ഉപയോഗിക്കുക.
  3. ഉപയോഗ ഉദാഹരണങ്ങളും വിശദീകരണങ്ങളും കാണുന്നതിന് ഏതെങ്കിലും എൻട്രിയിൽ ക്ലിക്ക് ചെയ്യുക.
  4. നിങ്ങളുടെ ടെർമിനലിലോ എഡിറ്ററിലോ ഉപയോഗിക്കുന്നതിന് കമാൻഡുകൾ നേരിട്ട് പകർത്തുക.

പതിവ് ചോദ്യങ്ങള്

ഈ പരാമർശം കാലികമാണോ?
പതിപ്പുകളിലുടനീളം സ്ഥിരതയുള്ള, വ്യാപകമായി ഉപയോഗിക്കുന്ന കമാൻഡുകളും വാക്യഘടനയും റഫറൻസ് ഉൾക്കൊള്ളുന്നു. ഏറ്റവും പുതിയ കൂട്ടിച്ചേർക്കലുകൾക്കോ ​​പതിപ്പ്-നിർദ്ദിഷ്ട സവിശേഷതകൾക്കോ, ഔദ്യോഗിക ഡോക്യുമെൻ്റേഷൻ പരിശോധിക്കുക.
എനിക്ക് ഇത് ഓഫ്‌ലൈനായി ഉപയോഗിക്കാമോ?
ഒരിക്കൽ ലോഡ് ചെയ്‌താൽ, ഇൻ്റർനെറ്റ് കണക്ഷൻ ഇല്ലാതെ പേജ് പ്രവർത്തിക്കും. പെട്ടെന്നുള്ള ആക്‌സസിനായി ഇത് ബുക്ക്‌മാർക്ക് ചെയ്യുക - കൂടുതൽ നെറ്റ്‌വർക്ക് അഭ്യർത്ഥനകളില്ലാതെ എല്ലാ ഉള്ളടക്കവും ബ്രൗസറിൽ റെൻഡർ ചെയ്യപ്പെടും.
ഇത് സമഗ്രമാണോ അതോ അടിസ്ഥാനകാര്യങ്ങൾ മാത്രമാണോ?
90% ദൈനംദിന ജോലികൾ കൈകാര്യം ചെയ്യുന്ന ഏറ്റവും സാധാരണയായി ഉപയോഗിക്കുന്ന കമാൻഡുകളും പാറ്റേണുകളും ഇത് ഉൾക്കൊള്ളുന്നു. നിച്ച് അല്ലെങ്കിൽ വിപുലമായ സവിശേഷതകൾക്കായി, ഔദ്യോഗിക ഡോക്യുമെൻ്റേഷൻ പരിശോധിക്കുക.
എനിക്ക് കൂട്ടിച്ചേർക്കലുകൾ നിർദ്ദേശിക്കാമോ?
ഞങ്ങളുടെ റഫറൻസുകൾ ഞങ്ങൾ പതിവായി അപ്ഡേറ്റ് ചെയ്യുന്നു. നഷ്‌ടമായ കമാൻഡുകൾ നിങ്ങൾ ശ്രദ്ധയിൽപ്പെട്ടാൽ അല്ലെങ്കിൽ നിർദ്ദേശങ്ങൾ ഉണ്ടെങ്കിൽ, ഞങ്ങളുടെ കോൺടാക്റ്റ് പേജിലൂടെ ഞങ്ങളെ അറിയിക്കുക.