{"id":25436691,"url":"https://github.com/ag-sanjjeev/git-commands","last_synced_at":"2026-05-05T13:40:08.963Z","repository":{"id":274780414,"uuid":"924045522","full_name":"ag-sanjjeev/Git-Commands","owner":"ag-sanjjeev","description":"This repository contains list of common and useful commands used in git bash system.","archived":false,"fork":false,"pushed_at":"2025-03-11T06:23:52.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T07:29:20.907Z","etag":null,"topics":["bash","commands","control","git","markdown","notes","reference","repository","version"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ag-sanjjeev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-29T10:15:26.000Z","updated_at":"2025-03-11T06:23:56.000Z","dependencies_parsed_at":"2025-01-29T11:25:52.980Z","dependency_job_id":"a493c1dd-bf11-4d84-9f66-a512dc35ead8","html_url":"https://github.com/ag-sanjjeev/Git-Commands","commit_stats":null,"previous_names":["ag-sanjjeev/git-commands"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FGit-Commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FGit-Commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FGit-Commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ag-sanjjeev%2FGit-Commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ag-sanjjeev","download_url":"https://codeload.github.com/ag-sanjjeev/Git-Commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","commands","control","git","markdown","notes","reference","repository","version"],"created_at":"2025-02-17T08:21:45.830Z","updated_at":"2026-05-05T13:40:08.922Z","avatar_url":"https://github.com/ag-sanjjeev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GIT Commands\n\nThis repository contains list of common and useful commands used in git system.\n\n## \u0026#9780; Overview:\n1. [Introduction](./docs/introduction.md)\n\t- [Need for git](./docs/introduction.md#-need-for-git)\n\t- [Associated Files](./docs/introduction.md#-associated-files)\n\t- [Help Commands](./docs/introduction.md#-help-commands)\n\t- [Configurations](./docs/introduction.md#-configurations)\n\t- [Git LFS](./docs/introduction.md#-git-lfs)\n\t- [Security Practices](./docs/introduction.md#-security-practices)\n\t- [Show Tree Structure](./docs/introduction.md#-show-tree-structure)\n2. [Git Ignore](./docs/git-ignore.md)\n\t- [How it works](./docs/git-ignore.md#-how-it-works)\n\t- [Ignore Specific Files](./docs/git-ignore.md#-ignore-specific-files)\n\t- [Ignore Specific Directories](./docs/git-ignore.md#-ignore-specific-directories)\n\t- [Wildcard Patterns](./docs/git-ignore.md#-wildcard-patterns)\n\t- [Comments](./docs/git-ignore.md#-comments)\n\t- [Testing Ignored Files](./docs/git-ignore.md#-testing-ignored-files)\n\t- [Global Ignore File](./docs/git-ignore.md#-global-ignore-file)\n\t- [If Ignore Not Work](./docs/git-ignore.md#-if-ignore-not-work)\n3. [Git Attributes](./docs/git-attributes.md)\n\t- [How it Works](./docs/git-attributes.md#-how-it-works)\n\t- [Text and Binary](./docs/git-attributes.md#-text-and-binary)\n\t- [End of Line](./docs/git-attributes.md#-end-of-line)\n\t- [Delta Compression](./docs/git-attributes.md#-delta-compression)\n\t- [Linguistic Language](./docs/git-attributes.md#-linguistic-language)\n\t- [Export Ignore](./docs/git-attributes.md#-export-ignore)\n4. [Basic Repository Operations](./docs/basic-repository-operations.md)\n\t- [Initialize Repository](./docs/basic-repository-operations.md#-initialize-repository)\n\t- [Staging Area](./docs/basic-repository-operations.md#-staging-area)\n\t- [Restore](./docs/basic-repository-operations.md#-restore)\n\t- [Commit Changes](./docs/basic-repository-operations.md#-commit-changes)\n\t- [Check Status](./docs/basic-repository-operations.md#-check-status)\n\t- [View Commit Log](./docs/basic-repository-operations.md#-view-commit-log)\n\t- [Checkout](./docs/basic-repository-operations.md#-checkout)\n\t- [Move or Rename](./docs/basic-repository-operations.md#-move-or-rename)\n5. [Branch Operations](./docs/branch-operations.md)\n\t- [Create Branch](./docs/branch-operations.md#-create-branch)\n\t- [List Branches](./docs/branch-operations.md#-list-branches)\n\t- [Switch Branch](./docs/branch-operations.md#-switch-branch)\n\t- [Move or Rename Branch](./docs/branch-operations.md#-move-or-rename-branch)\n\t- [Branching Strategies](./docs/branch-operations.md#-branching-strategies)\n\t\t- [Feature Branches](./docs/branch-operations.md#-feature-branches)\n\t\t- [Gitflow](./docs/branch-operations.md#-gitflow)\n\t- [Merge Branch](./docs/branch-operations.md#-merge-branch)\n\t- [Merge Conflicts](./docs/branch-operations.md#-merge-conflicts)\n\t- [Squash Merge](./docs/branch-operations.md#-squash-merge)\n\t- [Rebase](./docs/branch-operations.md#-rebase)\n\t- [Undo Rebase](./docs/branch-operations.md#-undo-rebase)\n\t- [Delete a Branch](./docs/branch-operations.md#-delete-a-branch)\n\t- [Create an Empty Branch](./docs/branch-operations.md#-create-an-empty-branch)\n6. [Remote Repository](./docs/remote-repository.md)\n\t- [Add Remote](./docs/remote-repository.md#-add-remote)\n\t- [Show Remote](./docs/remote-repository.md#-show-remote)\n\t- [Manipulate Remote](./docs/remote-repository.md#-manipulate-remote)\n\t- [Fetch Remote](./docs/remote-repository.md#-fetch-remote)\n\t- [Pull Remote](./docs/remote-repository.md#-pull-remote)\n\t- [Clone Repository](./docs/remote-repository.md#-clone-repository)\n\t- [Push Remote](./docs/remote-repository.md#-push-remote)\n\t- [Fork Repository](./docs/remote-repository.md#-fork-repository)\n7. [Git Tags](./docs/git-tags.md)\n\t- [Types of Tags](./docs/git-tags.md#-types-of-tags)\n\t- [Creating Tags](./docs/git-tags.md#-creating-tags)\n\t- [Setting a Tag](./docs/git-tags.md#-setting-a-tag)\n\t- [Checkout a Tag](./docs/git-tags.md#-checkout-a-tag)\n\t- [Pushing a Tag](./docs/git-tags.md#-pushing-a-tag)\n\t- [Deleting a Tag](./docs/git-tags.md#-deleting-a-tag)\n\t- [Listing Tags](./docs/git-tags.md#-listing-tags)\n\t- [Show Tag Information](./docs/git-tags.md#-show-tag-information)\n8. [Git Objects](./docs/git-objects.md)\n\t- [Blobs](./docs/git-objects.md#-blobs)\n\t- [Trees](./docs/git-objects.md#-trees)\n\t- [Commits](./docs/git-objects.md#-commits)\n\t- [Relation Between Objects](./docs/git-objects.md#-relation-between-objects)\n9. [Git Reset](./docs/git-reset.md)\n\t- [Hard Reset](./docs/git-reset.md#-hard-reset)\n\t- [Soft Reset](./docs/git-reset.md#-soft-reset)\n\t- [Mixed Resets](./docs/git-reset.md#-mixed-resets)\n\t- [Resets with Merge](./docs/git-reset.md#-resets-with-merge)\n\t- [Resets with Keep](./docs/git-reset.md#-resets-with-keep)\n\t- [Allowed Commit References](./docs/git-reset.md#-allowed-commit-references)\n11. [Git Submodules](./docs/git-submodules.md)\n\t- [How Submodule Works](./docs/git-submodules.md#-how-submodule-works)\n\t- [Add a Submodule](./docs/git-submodules.md#-add-a-submodule)\n\t- [Initialize a Submodule](./docs/git-submodules.md#-initialize-a-submodule)\n\t- [Update a Submodule](./docs/git-submodules.md#-update-a-submodule)\n\t- [Submodule Recursive](./docs/git-submodules.md#-submodule-recursive)\n\t- [Commit Submodule Changes](./docs/git-submodules.md#-commit-submodule-changes)\n\t- [Update Main Project](./docs/git-submodules.md#-update-main-project)\n\t- [Clone with Submodules](./docs/git-submodules.md#-clone-with-submodules)\n\t- [Pull Changes in Submodules](./docs/git-submodules.md#-pull-changes-in-submodules)\n\t- [Publishing Submodules Changes](./docs/git-submodules.md#-publishing-submodules-changes)\n\t- [Deleting Submodules](./docs/git-submodules.md#-deleting-submodules)\n\t- [Key Considerations](./docs/git-submodules.md#-key-considerations)\n12. [Git Subtrees](./docs/git-subtrees.md)\n\t- [How Subtrees Work](./docs/git-subtrees.md#-how-subtrees-work)\n\t- [Adding a Subtree](./docs/git-subtrees.md#-adding-a-subtree)\n\t- [Pulling Changes](./docs/git-subtrees.md#-pulling-changes)\n\t- [Pushing Changes](./docs/git-subtrees.md#-pushing-changes)\n\t- [Squash](./docs/git-subtrees.md#-squash)\n\t- [Onto](./docs/git-subtrees.md#-onto)\n\t- [Strategy](./docs/git-subtrees.md#-strategy)\n\t- [Comparison](./docs/git-subtrees.md#-comparison)\n13. [Advanced Commands](./docs/advanced-commands.md)\n\t- [Git Blame](./docs/advanced-commands.md#-git-blame)\n\t- [Git Cherry-Pick](./docs/advanced-commands.md#-git-cherry-pick)\n\t- [Git Reflog](./docs/advanced-commands.md#-git-reflog)\n\t- [Git Revert](./docs/advanced-commands.md#-git-revert)\n\t- [Git Stash](./docs/advanced-commands.md#-git-stash)\n\n## \u0026#9873; Contribution\nContributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request. Make sure to follow the existing coding style and provide clear documentation for your changes.\n\n## \u0026#9873; Disclaimer\nThis is not to be consider as official documentation. It is mainly provided for educational purpose. For better understanding, consult with expert and double check with [Official GIT Documentation](https://git-scm.com/doc), Before proceed in real-time implementations.\n\n## \u0026#9873; License\nThis reference licensed under the [MIT license](LICENSE). Feel free to use, modify, and distribute it as per the terms of the license.\n\n## \u0026#9873; Contact\nIf you have any questions or need further assistance, please feel free to reach me by referring [My Github Profile](https://github.com/ag-sanjjeev/)\n\nThanks for reviewing this reference notes!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fag-sanjjeev%2Fgit-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fag-sanjjeev%2Fgit-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fag-sanjjeev%2Fgit-commands/lists"}