{"id":19057924,"url":"https://github.com/onesizefitsquorum/try-githug","last_synced_at":"2026-02-27T02:03:07.985Z","repository":{"id":108028641,"uuid":"308247139","full_name":"OneSizeFitsQuorum/try-githug","owner":"OneSizeFitsQuorum","description":"An interesting game for learning git","archived":false,"fork":false,"pushed_at":"2020-11-05T05:53:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T02:35:41.988Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneSizeFitsQuorum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-10-29T07:14:53.000Z","updated_at":"2021-11-22T16:16:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"19349e26-3559-40bf-b5f2-10b0513e2aa7","html_url":"https://github.com/OneSizeFitsQuorum/try-githug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OneSizeFitsQuorum/try-githug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSizeFitsQuorum%2Ftry-githug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSizeFitsQuorum%2Ftry-githug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSizeFitsQuorum%2Ftry-githug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSizeFitsQuorum%2Ftry-githug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneSizeFitsQuorum","download_url":"https://codeload.github.com/OneSizeFitsQuorum/try-githug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSizeFitsQuorum%2Ftry-githug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29882632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-08T23:59:58.202Z","updated_at":"2026-02-27T02:03:07.946Z","avatar_url":"https://github.com/OneSizeFitsQuorum.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"My own answers of [githug](https://github.com/Gazler/githug).\n\n## Level 1\n```\ngit init\n```\n\n## Level 2\n```\ngit config user.email \"TXYPotato@gmail.com\"\ngit config user.name \"LebronAl\"\n```\n\n## Level 3\n```\ngit add .\n```\n\n## Level 4\n```\ngit commit -m \"test\"\n```\n\n## Level 5\n```\ngit clone https://github.com/Gazler/cloneme\n```\n\n## Level 6\n```\ngit clone https://github.com/Gazler/cloneme my_cloned_repo\n```\n\n## Level 7\n```\nvim .gitignore\n--- content\n*.swp\n---\n```\n\n## Level 8\n```\nvim .gitignore\n--- content\n*.a\n!lib.a\n---\n```\n\n## Level 9\n```\ndatabase.yml\n```\n\n## Level 10\n```\n2\n```\n\n## Level 11\n```\ngit rm deleteme.rb \n```\nor\n```\ngit add .\n```\n\n## Level 12\n```\ngit rm --cached deleteme.rb\n```\n\n## Level 13\n```\ngit stash\n```\n\n## Level 14\n```\ngit mv oldfile.txt newfile.txt\n```\nor\n```\nmv oldfile.txt newfile.txt\ngit add .\n```\n\n## Level 15\n```\nmkdir src\ngit mv *.html src\n```\n\n## Level 16\n```\ngit log\n--- content\nd0bdc60ed5e44eb64f4739fe0795f6a9b0006799\n---\n```\n\n## Level 17\n```\ngit tag new_tag\n```\n\n## Level 18\n```\ngit push origin --tags\n```\n\n## Level 19\n```\ngit add .\ngit commit --amend --no-edit\n```\n\n## Level 20\n```\ngit commit -m \"test\" --date=\"Thu Oct 30 18:41:16 2020 +0800\"\n```\n\n## Level 21\n```\ngit reset HEAD to_commit_second.rb\n```\n\n## Level 22\n```\ngit reset --soft HEAD^\n```\n\n## Level 23\n```\ngit checkout -- config.rb\n```\n\n## Level 24\n```\ngit remote -v\n--- content\nmy_remote_repo\n---\n```\n\n## Level 25\n```\ngit remote -v\n--- content\nhttps://github.com/githug/not_a_repo\n---\n```\n\n## Level 26\n```\ngit pull origin master\n```\n\n## Level 27\n```\ngit remote add origin https://github.com/githug/githug\n```\n\n## Level 28\n```\ngit rebase origin/master\ngit push origin master\n```\n\n## Level 29\n```\ngit diff\n--- content\n26\n---\n```\n\n## Level 30\n```\ngit blame\n--- content\nSpider Man\n---\n```\n\n## Level 31\n```\ngit branch test_code\n```\n\n## Level 32\n```\ngit checkout -b my_branch\n```\n\n## Level 33\n```\ngit checkout v1.2\n```\n\n## Level 34\n```\ngit checkout tags/v1.2\n```\n\n## Level 35\n```\ngit checkout HEAD^\ngit checkout -b test_branch\n```\n\n## Level 36\n```\ngit branch -d delete_me\n```\n\n## Level 37\n```\ngit push origin test_branch:test_branch\n```\n\n## Level 38\n```\ngit merge feature\n```\n\n## Level 39\n```\ngit fetch origin\n```\n\n## Level 40\n```\ngit rebase master feature\n```\n\n## Level 41\n```\ngit rebase --onto master wrong_branch readme-update\n```\n\n## Level 42\n```\ngit repack -d\n```\n\n## Level 43\n```\ngit checkout new-feature\ngit log\ngit checkout master\ngit cherry-pick ca32a6dac7b6f97975edbe19a4296c2ee7682f68\n```\n\n## Level 44\n```\ngit grep TODO\n```\n\n## Level 45\n```\ngit rebase -i HEAD~2\n--- content\nuse 'reword' and fix typo\n---\n```\n\n## Level 46\n```\ngit rebase -i HEAD~4\n--- content\nuse 'squash' for last 3 commits\n---\n```\n\n## Level 47\n```\ngit merge --squash long-feature-branch\ngit commit -m\"squash\"\n```\n\n## Level 48\n```\ngit rebase -i HEAD~3\n---\nreordering\n---\n```\n\n## Level 49\n```\ngit bisect start HEAD HEAD~19\nruby prog.rb 5\n15\ngit bisect good\nruby prog.rb 5\n11\ngit bisect bad\nruby prog.rb 5\n15\ngit bisect good\nruby prog.rb 5\n15\ngit bisect good\n```\n\n## Level 50\n```\ngit add -e .\n---\ndelete second feature\n---\n```\n\n## Level 51\n```\ngit reflog\n---\nfind the branch which was checked out to current branch\n---\ngit checkout solve_world_hunger\n```\n\n## Level 52\n```\ngit log\ngit revert 2f072479e931a88019e362a54883f83c961158ce\n```\n\n## Level 53\n```\ngit reflog\ngit reset --hard 9c720fc\n```\n\n## Level 54\n```\ngit merge mybranch\n---\nfix conflict\n---\ngit add .\ngit merge --continue\n```\n\n## Level 55\n```\ngit submodule add https://github.com/jackmaney/githug-include-me\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesizefitsquorum%2Ftry-githug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesizefitsquorum%2Ftry-githug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesizefitsquorum%2Ftry-githug/lists"}