{"id":26190390,"url":"https://github.com/karan-develops/karan-demo","last_synced_at":"2026-02-07T11:02:34.375Z","repository":{"id":219980231,"uuid":"750431756","full_name":"Karan-develops/karan-demo","owner":"Karan-develops","description":"This is my first git Repository","archived":false,"fork":false,"pushed_at":"2024-03-26T12:24:45.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T02:53:25.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Karan-develops.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":"2024-01-30T16:27:19.000Z","updated_at":"2025-03-02T12:34:40.000Z","dependencies_parsed_at":"2024-03-26T13:37:06.213Z","dependency_job_id":"3f1d9106-4f1d-467e-8737-67284d22db1e","html_url":"https://github.com/Karan-develops/karan-demo","commit_stats":null,"previous_names":["karan-develops/karan-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Karan-develops/karan-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-develops%2Fkaran-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-develops%2Fkaran-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-develops%2Fkaran-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-develops%2Fkaran-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karan-develops","download_url":"https://codeload.github.com/Karan-develops/karan-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karan-develops%2Fkaran-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29193089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-03-12T00:53:39.218Z","updated_at":"2026-02-07T11:02:34.359Z","avatar_url":"https://github.com/Karan-develops.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karan-demo\n\nI MADE THIS REPO FOR BASIC COMMANDS FOR BEGINNERS FOR GITHUB\n\n\u003cbr\u003e\nAuthor -\u003e Karan aggarwal :)\n// Commands (ls, ls -a)\ncd karan-demo -\u003e change directory to karan-demo\ngit status , git clone \u003clink\u003e , git add . , git add \u003cfile name\u003e , git commit -m \"\"\ngit push origin main -\u003e make changes (from local to remote repo)\n//init (used to create new repo -\u003e from device to git)\nto get outside of the directory -\u003e cd ..\ncreate new repo directory -\u003e mkdir \u003cname\u003e\nto make a repo into a git repo -\u003e git init\n\n//creating new repo from local to remote\ngit remote add origin \u003clink\u003e\nto verify remote -\u003e git remote -v\nto check branch -\u003e git branch\nto rename branch -\u003e git branch -M main\ngit push origin main\nset upstream (if we don't wanna write origin main again n again) -\u003e git push -u origin main\n\n//branches\nto check branch -\u003e git branch\nto rename branch -\u003e git branch -M main\nto navigate(jump) between branches -\u003e git checkout \u003cbranchname\u003e\nto make new branchs -\u003e git checkout -b \u003cnew-branchname\u003e\nto delete a branch -\u003e git branch -d \u003cbranchname\u003e\n\n//merging (way1)\nto compare 2 branches,commits,files,etc -\u003e git diff \u003cbranchname\u003e\nto merge 2 branches -\u003e git merge \u003cbranchname\u003e\n(way2) -\u003e create a PR (pull request)\n\n//pull command\nto pull changes from remote(git) to local -\u003e git pull origin main\n\n//Undoing changes\nto undo add changes -\u003e git reset \u003cfilename\u003e\nto undo commit changes (for 1 commit) -\u003e git reset HEAD~1\n**\n//git log (to see commit changes history)\nto undo multiple commit changes -\u003e git reset \u003ccommithash\u003e (obtain from git log)\ngit reset --hard \u003ccommithash\u003e (vs code se bhi changes ht jaenge)\n\n//fork -\u003e a rough copy of others code in our repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran-develops%2Fkaran-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaran-develops%2Fkaran-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaran-develops%2Fkaran-demo/lists"}