{"id":23452504,"url":"https://github.com/rajkumar060301/git-command-cheatseets","last_synced_at":"2026-04-18T19:31:56.947Z","repository":{"id":242111481,"uuid":"808716210","full_name":"rajkumar060301/git-command-cheatseets","owner":"rajkumar060301","description":"This repo is descrive the command line for git and github handling","archived":false,"fork":false,"pushed_at":"2024-05-31T16:59:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T14:31:25.821Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajkumar060301.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-31T16:57:30.000Z","updated_at":"2025-01-12T14:04:22.000Z","dependencies_parsed_at":"2024-05-31T18:30:45.274Z","dependency_job_id":"c3a01b2f-0fda-47a0-9148-1a1024832b9c","html_url":"https://github.com/rajkumar060301/git-command-cheatseets","commit_stats":null,"previous_names":["rajkumar060301/git-command-cheatseets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rajkumar060301/git-command-cheatseets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajkumar060301%2Fgit-command-cheatseets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajkumar060301%2Fgit-command-cheatseets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajkumar060301%2Fgit-command-cheatseets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajkumar060301%2Fgit-command-cheatseets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajkumar060301","download_url":"https://codeload.github.com/rajkumar060301/git-command-cheatseets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajkumar060301%2Fgit-command-cheatseets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","github"],"created_at":"2024-12-24T01:17:14.375Z","updated_at":"2026-04-18T19:31:56.916Z","avatar_url":"https://github.com/rajkumar060301.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-command-cheatseets\n1. Set the user name \n\ngit config --global user.name \"Your Name\"\n\n2. Set the user email\n\ngit config --global user.email \"your.email@example.com\"\n\n3. Check the user name\n\ngit config --global user.name\n\n4. check the user email\n\ngit config --global user.email\n\n5. Check the git version\n\ngit --version\n\n6. check current branch\n\ngit branch --show-current\n\ngit status\n\n7. check the all branch\n\ngit branch -a\n\n8. check the remote version\n\ngit remote -v\n\n9. rename the remote orgin\n\ngit remote rename origin newname\n\n10. how to commit \n\ngit commit -m \"Your commit message\"\n\n11. how to add signle file for commit\n\ngit add filename\n\n12. how to add all file for commit\n\ngit add .\n\n13. how create new branch \n\ngit branch new-branch-name\n\n14. how to change branch\n\ngit checkout branch-name\n\ngit switch branch-name\n\n15. how to copy one branch to another branch\n\ngit checkout -b new-branch-name source-branch-name\ngit switch -c new-branch-name source-branch-name\n\n16.How to merge code \n\ngit checkout target-branch\ngit merge source-branch\n\ngit checkout main\ngit merge feature-branch\n\n17. How to set git repo to change or rename current repo\n\ngit remote set-url origin reponame\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajkumar060301%2Fgit-command-cheatseets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajkumar060301%2Fgit-command-cheatseets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajkumar060301%2Fgit-command-cheatseets/lists"}