{"id":37196998,"url":"https://github.com/imphaniraj/learning-git","last_synced_at":"2026-01-14T22:54:43.571Z","repository":{"id":38459476,"uuid":"499054724","full_name":"Imphaniraj/learning-git","owner":"Imphaniraj","description":"Basic github exercise","archived":false,"fork":false,"pushed_at":"2023-05-22T08:51:10.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T18:04:25.267Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":"","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/Imphaniraj.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":"2022-06-02T08:30:46.000Z","updated_at":"2022-06-03T10:16:50.000Z","dependencies_parsed_at":"2024-06-19T17:30:13.126Z","dependency_job_id":null,"html_url":"https://github.com/Imphaniraj/learning-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Imphaniraj/learning-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imphaniraj%2Flearning-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imphaniraj%2Flearning-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imphaniraj%2Flearning-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imphaniraj%2Flearning-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Imphaniraj","download_url":"https://codeload.github.com/Imphaniraj/learning-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imphaniraj%2Flearning-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28437187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"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":"2026-01-14T22:54:42.897Z","updated_at":"2026-01-14T22:54:43.541Z","avatar_url":"https://github.com/Imphaniraj.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# learning-git\n\nStarting lesons of git which includes\n1. git add -A // to add all the untracked/tracked files into staging area\n2. git commit -sm \"\" // -sm is to signoff and move the staging files into committed area\n3. git restore // restores a file or folder to a specific commit\n4. git push remote branch // pushes code to the github from local\n5. git pull remote branch // pull the code from github to local\n6. git add remote git@hostname // linking your local folder with the apt github account  \n7. git branch \u003cbranch-name\u003e // only create bracnh\n8. git checkout \u003cbranch-name\u003e // only checkout\n9. git checkout -b branchname  // \"to create and checkout\"\n10. git branch -d branchname  // \"to delete the branch\" \n11. git rebase \u003cremote\u003e \u003cbranch\u003e\n12. git stash save / pop / apply / list and others // commands related to stash\n13. git log --oneline (--color --graph --decorate) // to show logs in one line (along with the journey oif respective branches merged into main branch)\n14. git rebase -i \u003ccommit-id\u003e // interaitve editor will open to group the commits, you cna even squash the more than one commits into one. This helps to make the merge linear.\n  [GIT even allows you to configure whenewver you merge, it automatically gets squashed and merged]\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimphaniraj%2Flearning-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimphaniraj%2Flearning-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimphaniraj%2Flearning-git/lists"}