{"id":26243728,"url":"https://github.com/mahmudhasan123/git-github","last_synced_at":"2025-06-14T13:03:28.601Z","repository":{"id":162483362,"uuid":"609739845","full_name":"mahmudhasan123/git-github","owner":"mahmudhasan123","description":"Some info about Git \u0026 Github","archived":false,"fork":false,"pushed_at":"2023-03-09T11:23:31.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T10:36:20.069Z","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/mahmudhasan123.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}},"created_at":"2023-03-05T04:40:40.000Z","updated_at":"2023-04-11T16:16:29.000Z","dependencies_parsed_at":"2024-02-01T09:44:11.239Z","dependency_job_id":null,"html_url":"https://github.com/mahmudhasan123/git-github","commit_stats":null,"previous_names":["fiveamcoder/git-github","xcvi-decode/git-github","mahmudhasan123/git-github"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahmudhasan123/git-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhasan123%2Fgit-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhasan123%2Fgit-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhasan123%2Fgit-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhasan123%2Fgit-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmudhasan123","download_url":"https://codeload.github.com/mahmudhasan123/git-github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmudhasan123%2Fgit-github/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259820785,"owners_count":22916544,"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","github"],"created_at":"2025-03-13T10:29:23.381Z","updated_at":"2025-06-14T13:03:28.549Z","avatar_url":"https://github.com/mahmudhasan123.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"git init : to initialize git in local folder \\\ngit add . : to add all file \u0026 folder \\\ngit status : to check status \\\ngit reset : to revoke previous command or previous staging  \\\ngit commit -m \u003cmessage\u003e : to save file in stage \\\ngit reset --hard : to remove that write before commit. \\\ngit reset HEAD~ \\\ngit branch -M main \\\ngit remote add origin \u003corigin name\u003e \\\ngit push -u origin main \\\ncredential manager -\u003e windows credential -\u003e github : remove double account \\\nrm -rf \u003cdirectory name\u003e : Directory Remove Command \\\nclear : command clear \\\nssh origin এ পুশ করতে যদি সমস্যা হয় তখন .git ফোল্ডার ডিলিট করে দিয়ে নতুন করে https অরিজিনে পুশ করতে হবে \\\nটার্মিনাল হিসাবে git bash / cmd ব্যবহার করার ট্রাই করতে হবে \\\ngit add index.html : add index.html in git \\\n\nযখন এক রিপজিটরির কোড অন্য রিপজিটরিতে পাঠানো হয় তখন কিছু কোড:\ngit remote remove origin : remove git origin \\\ngit push --set-upstream origin main \\\n\n২ টা ইস্যু:\n\n1. pull করে push করতে হবে।\n2. git push --set-upstream origin main -f : ফোর্স করে পুশ করা \\\n\ngit playlist :\nprocoder, learnwithsumit\n\ngit pull : fetching data from origin \\\nrejected error আসলে অনেক সময় git pull দিতে হয়। \\\ngit branch : to see how much branch in git \\\ngit branch \u003cbranch name\u003e : to create a branch in git \\\ngit checkout \u003cbranch name\u003e : to switch between branch in git \\\ngit merge \u003cbranch name\u003e : to merge branch in git \\\ngit clone \u003corigin link/name\u003e : to clone origin repository in local computer \\\ngit config --global user.name \"username\" : to set username in git \\\ngit config --global user.email \"user@name.com\" : to set email in git \\\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudhasan123%2Fgit-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmudhasan123%2Fgit-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmudhasan123%2Fgit-github/lists"}