{"id":16373556,"url":"https://github.com/wasiqb/common-git-commands","last_synced_at":"2026-05-08T00:35:40.909Z","repository":{"id":88143748,"uuid":"116145483","full_name":"WasiqB/common-git-commands","owner":"WasiqB","description":"A list of commonly used Git commands.","archived":false,"fork":false,"pushed_at":"2018-01-03T15:15:12.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T07:02:00.814Z","etag":null,"topics":["awesome-list","curated-list","git","git-command-line","github"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WasiqB.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}},"created_at":"2018-01-03T14:23:03.000Z","updated_at":"2023-09-08T17:34:41.000Z","dependencies_parsed_at":"2023-07-23T19:45:21.111Z","dependency_job_id":null,"html_url":"https://github.com/WasiqB/common-git-commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WasiqB/common-git-commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fcommon-git-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fcommon-git-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fcommon-git-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fcommon-git-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WasiqB","download_url":"https://codeload.github.com/WasiqB/common-git-commands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fcommon-git-commands/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264552244,"owners_count":23626677,"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":["awesome-list","curated-list","git","git-command-line","github"],"created_at":"2024-10-11T03:14:40.016Z","updated_at":"2026-05-08T00:35:35.876Z","avatar_url":"https://github.com/WasiqB.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Common Git Commands [![Awesome](https://awesome.re/badge.svg)](https://github.com/WasiqB/common-git-commands)\nAll are most welcome to update this list by sending PR's.\n\n\u003e Let's make this list useful to most of Git users where they can refer this list to find the command they are looking for.\n\n### Status\n```terminal\n$ git status\n```\n\n### Pull changes\n```terminal\n$ git pull\n```\n\n### Add changed file / folder\n```terminal\n$ git add \u003cfile/folder-name\u003e\n```\n\n### Add all changed files\n```terminal\n$ git add .\n```\n\n### Revert changed file / folder\n```terminal\n$ git checkout \u003cfile/folder-name\u003e\n```\n\n### Revert all the changed files\n```terminal\n$ git checkout .\n```\n\n### Commit changes\n```terminal\n$ git commit -m \"Your message here.\"\n```\n\n### Push changes\n```terminal\n$ git push\n```\n\n### Clone new repository\n```terminal\n$ git clone \u003crepo-url\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasiqb%2Fcommon-git-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasiqb%2Fcommon-git-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasiqb%2Fcommon-git-commands/lists"}