Home News DMCA Disclaimer Privacy
News Photo All important git command
16/07/2024
All important git command

Git command most use command from top to bottom.

 


  1. clone: Clone a repository into a new directory

  2. init: Create an empty Git repository or reinitialize an existing one

  3. add: Add file contents to the index

  4. commit: Record changes to the repository

  5. status: Show the working tree status

  6. push: Update remote refs along with associated objects

  7. pull: Fetch from and integrate with another repository or a local branch

  8. branch: List, create, or delete branches

  9. checkout: Switch branches or restore working tree files

  10. merge: Join two or more development histories together

  11. rebase: Reapply commits on top of another base tip

  12. stash: Stash the changes in a dirty working directory away

  13. reset: Reset current HEAD to the specified state

  14. fetch: Download objects and refs from another repository

  15. log: Show commit logs

  16. diff: Show changes between commits, commit and working tree, etc

  17. tag: Create, list, delete, or verify a tag object signed with GPG

  18. clean: Remove untracked files from the working tree

  19. remote: Manage set of tracked repositories

  20. config: Get and set repository or global options

  21. show: Show various types of objects

  22. grep: Print lines matching a pattern

  23. gc: Cleanup unnecessary files and optimize the local repository

  24. archive: Create an archive of files from a named tree

  25. bisect: Use binary search to find the commit that introduced a bug

  26. bundle: Move objects and refs by archive

  27. cherry-pick: Apply the changes introduced by some existing commits

  28. describe: Give an object a human readable name based on an available ref

  29. format-patch: Prepare patches for e-mail submission

  30. gitk: The Git repository browser

  31. gui: A portable graphical interface to Git

  32. maintenance: Run tasks to optimize Git repository data

  33. mv: Move or rename a file, a directory, or a symlink

  34. notes: Add or inspect object notes

  35. range-diff: Compare two commit ranges (e.g. two versions of a branch)

  36. restore: Restore working tree files

  37. revert: Revert some existing commits

  38. shortlog: Summarize 'git log' output

  39. sparse-checkout: Reduce your working tree to a subset of tracked files

  40. submodule: Initialize, update or inspect submodules

  41. switch: Switch branches

  42. worktree: Manage multiple working trees

  43. annotate: Annotate file lines with commit information

  44. blame: Show what revision and author last modified each line of a file

  45. bugreport: Collect information for user to file a bug report

  46. count-objects: Count unpacked number of objects and their disk consumption

  47. diagnose: Generate a zip archive of diagnostic information

  48. difftool: Show changes using common diff tools

  49. fsck: Verifies the connectivity and validity of the objects in the database

  50. gitweb: Git web interface (web frontend to Git repositories)

  51. help: Display help information about Git

  52. instaweb: Instantly browse your working repository in gitweb

  53. merge-tree: Perform merge without touching index or working tree

  54. rerere: Reuse recorded resolution of conflicted merges

  55. show-branch: Show branches and their commits

  56. verify-commit: Check the GPG signature of commits

  57. verify-tag: Check the GPG signature of tags

  58. version: Display version information about Git

  59. whatchanged: Show logs with difference each commit introduces

  60. apply: Apply a patch to files and/or to the index

  61. checkout-index: Copy files from the index to the working tree

  62. commit-graph: Write and verify Git commit-graph files

  63. commit-tree: Create a new commit object

  64. hash-object: Compute object ID and optionally creates a blob from a file

  65. index-pack: Build pack index file for an existing packed archive

  66. merge-file: Run a three-way file merge

  67. merge-index: Run a merge for files needing merging

  68. mktag: Creates a tag object with extra validation

  69. mktree: Build a tree-object from ls-tree formatted text

  70. multi-pack-index: Write and verify multi-pack-indexes

  71. pack-objects: Create a packed archive of objects

  72. prune-packed: Remove extra objects that are already in pack files

  73. read-tree: Reads tree information into the index

  74. symbolic-ref: Read, modify and delete symbolic refs

  75. unpack-objects: Unpack objects from a packed archive

  76. update-index: Register file contents in the working tree to the index

  77. update-ref: Update the object name stored in a ref safely

  78. write-tree: Create a tree object from the current index

  79. cat-file: Provide content or type and size information for repository objects

  80. cherry: Find commits yet to be applied to upstream

  81. diff-files: Compares files in the working tree and the index

  82. diff-index: Compare a tree to the working tree or index

  83. diff-tree: Compares the content and mode of blobs found via two tree objects

  84. for-each-ref: Output information on each ref

  85. for-each-repo: Run a Git command on a list of repositories

  86. get-tar-commit-id: Extract commit ID from an archive created using git-archive

  87. ls-files: Show information about files in the index and the working tree

  88. ls-remote: List references in a remote repository

  89. ls-tree: List the contents of a tree object

  90. merge-base: Find as good common ancestors as possible for a merge

  91. name-rev: Find symbolic names for given revs

  92. pack-redundant: Find redundant pack files

  93. rev-list: Lists commit objects in reverse chronological order

  94. rev-parse: Pick out and massage parameters

  95. show-index: Show packed archive index

  96. show-ref: List references in a local repository

  97. unpack-file: Creates a temporary file with a blob's contents

  98. var: Show a Git logical variable

  99. verify-pack: Validate packed Git archive files

  100. daemon: A really simple server for Git repositories

  101. fetch-pack: Receive missing objects from another repository

  102. http-backend: Server side implementation of Git over HTTP

  103. send-pack: Push objects over Git protocol to another repository

  104. update-server-info: Update auxiliary info file to help dumb servers

  105. check-attr: Display gitattributes information

  106. check-ignore: Debug gitignore / exclude files

  107. check-mailmap: Show canonical names and email addresses of contacts

  108. check-ref-format: Ensures that a reference name is well formed

  109. column: Display data in columns

  110. credential: Retrieve and store user credentials

  111. credential-cache: Helper to temporarily store passwords in memory

  112. credential-store: Helper to store credentials on disk

  113. fmt-merge-msg: Produce a merge commit message

  114. hook: Run git hooks

  115. interpret-trailers: Add or parse structured information in commit messages

  116. mailinfo: Extracts patch and authorship from a single email message

  117. mailsplit: Simple UNIX mbox splitter program

  118. merge-one-file: Simplified three-way merge

  119. parse-remote: Routines to help parsing remote repository access parameters

  120. patch-id: Compute unique ID for a patch

  121. sh-i18n: GIT's i18n setup code for shell scripts

  122. sh-setup: GIT's shell script setup code

  123. stripspace: Remove unnecessary whitespace

  124. subst: Substitute Git variables into a text file


Football Posts


News Photo
Kumno ba phin ioh peit live ia ka jing pyn ia kap draw ia ka UEFA Champion Leauge

Kan long ha ka sien kaba nyngkong ha ka UEFA champion Leauge yndon haduh 36

Football
News Photo
Kylian Mbappe live Presentation

U Kylian Mbappé u ong: “Wow, ka long kaba phylla ban don hangne, kaba phylla.”

Football
News Photo
Balei ki pait bah ki la bitar jur ia ka sorkar ha Bangladesh

Ki jingiakhih ha Bangladesh pyrshah ia ka bhah thung kam 30% ia ki khun ki

News
News Photo
Kumno ba phin ioh peit ia ka jingia lehkai hapdeng ka Shillong Lajong FC vs Tribhuvan Army FC

Ka jingia lehkai shibit ha ka Durand Cup 2024   Shillong Lajong FC kan ia khun

Football
News Photo
Ki 12 ngut ki football player ba paw ban ia khun ha Olympics 2024 na ka ri jong ki

Ha ka Olympics  ka don ka jingkhang ia ka rta na ka bynta ka lympung

Football
News Photo
Sha ka Club ia lehkai ha Saudi Arabia pynia soh u rangia lehkai ba paw ka ri Gabon bad Barcelona

U rangïalehkai ba rim jong ka Arsenal, Barcelona bad Chelsea, u Pierre-Emerick Aubameyang, ula pynïasoh bad ka club Al

Football