{"id":19174441,"url":"https://github.com/benmukebo/gym-git-exercise","last_synced_at":"2026-03-19T08:30:15.868Z","repository":{"id":165226611,"uuid":"640572432","full_name":"BenMukebo/gym-git-exercise","owner":"BenMukebo","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-20T16:24:48.000Z","size":9,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T20:25:12.038Z","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/BenMukebo.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,"zenodo":null}},"created_at":"2023-05-14T14:37:27.000Z","updated_at":"2023-05-20T14:09:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9c06998-3d28-48cf-9b54-7e9ffe52a9b5","html_url":"https://github.com/BenMukebo/gym-git-exercise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BenMukebo/gym-git-exercise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMukebo%2Fgym-git-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMukebo%2Fgym-git-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMukebo%2Fgym-git-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMukebo%2Fgym-git-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenMukebo","download_url":"https://codeload.github.com/BenMukebo/gym-git-exercise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMukebo%2Fgym-git-exercise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29694213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","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":[],"created_at":"2024-11-09T10:17:52.475Z","updated_at":"2026-03-19T08:30:15.861Z","avatar_url":"https://github.com/BenMukebo.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GIT EXERCISES\n\n## Bundle 1\n\n### Exercise 1\n\n```bash\n$ git init\n$ git branch -M main\necho \u003e file1.txt\n$ git add file1.txt\n$ git commit -m \"Add file1.txt to my project\"\n$ git remote add origin https://github.com/BenMukebo/gym-git-exercise.git\n$ git push origin main \n$ git checkout -b dev\n$ git checkout -b test\n$ git checkout dev\n$ git branch -d test \n```\n\n```bash\n$ git add .\n$ git commit -m \"Copy git commands to my README file\"\n$ git push origin dev\n```\n\n### Exercise 2\n\n```bash\necho \u003e home.html\n$ git stash\necho \u003e about.html\n$ git stash\necho \u003e team.html\n$ git stash\n$ git stash list \ngit stash pop stash@{1}  \ngit stash pop stash@{0}\n$ git commit -m \"Create home and about pages\"\n\n$ git stash pop stash@{0} \n$ git reset\n\n=\u003e FAQ: I use `git reset` and `git restore` but I couln't go back to the changes without the team page, did you any command to suggesting me?\n```\n## Bundle 3\n\n### Exercise 1\n\n```bash\n$ git cherry-pick \u003ccommit-hash\u003e\n$ git cherry-pick 7df7a51d88a177c290d4e84d45114847ec02747a\n$ git revert \u003ccommit-hash\u003e\n$ git revert 7df7a51d88a177c290d4e84d45114847ec02747a\n```\n\n### Exercise 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmukebo%2Fgym-git-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmukebo%2Fgym-git-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmukebo%2Fgym-git-exercise/lists"}