{"id":18148787,"url":"https://github.com/khujamovcodes/git-va-github","last_synced_at":"2026-01-17T22:52:27.925Z","repository":{"id":257489203,"uuid":"840810602","full_name":"KhujamovCodes/Git-va-Github","owner":"KhujamovCodes","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-10T19:27:00.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T08:40:42.590Z","etag":null,"topics":["git","git-info","github","github-info"],"latest_commit_sha":null,"homepage":"https://git-scm.com/book/uz/v2/%D0%98%D1%88-%D0%B1%D0%BE%D1%88%D0%BB%D0%B0%D0%BD%D0%B8%D1%88%D0%B8-Git-%D0%B0%D1%81%D0%BE%D1%81%D0%B8","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/KhujamovCodes.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-08-10T18:49:06.000Z","updated_at":"2024-11-06T05:50:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfc9415f-4ff3-44d3-b2d9-479067f9c967","html_url":"https://github.com/KhujamovCodes/Git-va-Github","commit_stats":null,"previous_names":["ixvadev/git-va-github","khujamovcodes/git-va-github"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhujamovCodes%2FGit-va-Github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhujamovCodes%2FGit-va-Github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhujamovCodes%2FGit-va-Github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhujamovCodes%2FGit-va-Github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhujamovCodes","download_url":"https://codeload.github.com/KhujamovCodes/Git-va-Github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246932640,"owners_count":20857031,"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":["git","git-info","github","github-info"],"created_at":"2024-11-01T23:10:14.081Z","updated_at":"2026-01-17T22:52:27.898Z","avatar_url":"https://github.com/KhujamovCodes.png","language":null,"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://avatars.githubusercontent.com/u/18133?s=280\u0026v=4\" width=\"140\"\u003e\n\u003cimg src=\"https://cdn0.iconfinder.com/data/icons/free-social-media-set/24/github-512.png\" width=\"140\"\u003e\n\n# GIT+GITHUB\n\u003c/div\u003e\n\n\n# Git va GitHub bilan ishlash\n\n## Git nima?\nGit — bu Versiya Boshqarish Tizimi (Version Control System, VCS) bo‘lib, dasturiy ta'minotning barcha versiyalarini nazorat qilish, o‘zgarishlarni kuzatish va ularni saqlash imkonini beradi.\n\n### Gitning afzalliklari:\n- Kod versiyasini nazorat qilish;\n- Qanday o‘zgarishlar kiritilganligi haqida ma’lumot beradi;\n- Kiritilgan o‘zgarishlarning kim tomonidan va qachon kiritilganligini ko‘rsatadi;\n- Loyihalar bilan jamoaviy ishlash imkoniyatini yaratadi.\n\n## Git va GitHub farqi\n- **Git** — Local Version Control System\n- **GitHub** — Online Version Control System Hosting Service\n\n### Gitni o'rnatish va sozlash\n### O'rnatish:\n- **Windows** uchun: Git Bash\n- **MacOS** uchun: Terminal, iTerm, Kitty\n\n### Sozlash:\n- Git foydalanuvchisi ismi va emailini sozlash:\n  ```bash\n  git config --global user.name \"username\"\n  git config --global user.email \"email\"\n### Barcha sozlamalarni ko‘rsatish:\n    git config --list\n### Gitda yangi loyiha yaratish (Repository):\n### Yangi git loyihani boshlash:\n    git init\n### O‘zgarishga uchragan holatni tekshirish:\n    git status\n### O'zgarishlarni qo'shish va saqlash\n### Yangi fayllar va o'zgarishlarni qo‘shish:\n    git add faylnomi\n    git add .\n## Navbatdagi o‘zgarishlarni saqlash:\n    git commit -m \"xabaringiz\"\n### Navbatsiz o‘zgarishlarni saqlash:\n    git commit --amend -m \"xabaringiz\"\n### Tarixni ko'rish\n### Commitlar tarixini ko‘rish:\n    git log\n### Fayl o'zgarishlarini bekor qilish\n### Maxsus fayl yoki barcha fayllarni bekor qilish:\n    git checkout -- faylnomi\n    git checkout -- .\n### Loyihaning xohlagan versiyasiga qaytish:\n    git checkout maxsuskod\n    git checkout master\n    Branch/Merge\n### Hozirgi mavjud branchlar ro‘yxatini ko‘rish:\n    git branch\n### Yangi branch yaratish:\n    git branch nom\n### Branchga o'tish:\n    agit checkout nom\n### Branchlarni birlashtirish:\n    git merge branchnomi\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhujamovcodes%2Fgit-va-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhujamovcodes%2Fgit-va-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhujamovcodes%2Fgit-va-github/lists"}