{"id":23020411,"url":"https://github.com/freakwill/git-learn","last_synced_at":"2026-02-01T22:31:21.209Z","repository":{"id":265413325,"uuid":"895947115","full_name":"Freakwill/git-learn","owner":"Freakwill","description":"Let us learn how to use git command","archived":false,"fork":false,"pushed_at":"2024-12-06T10:15:52.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T02:05:37.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Freakwill.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":"2024-11-29T08:38:15.000Z","updated_at":"2024-12-06T10:15:56.000Z","dependencies_parsed_at":"2025-04-02T18:42:53.620Z","dependency_job_id":"e797311b-39d9-43d9-9435-b9cbc93a15ab","html_url":"https://github.com/Freakwill/git-learn","commit_stats":null,"previous_names":["freakwill/git-learn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Freakwill/git-learn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fgit-learn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fgit-learn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fgit-learn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fgit-learn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Freakwill","download_url":"https://codeload.github.com/Freakwill/git-learn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Freakwill%2Fgit-learn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28993252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T22:01:47.507Z","status":"ssl_error","status_checked_at":"2026-02-01T21:58:37.335Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2024-12-15T12:14:00.158Z","updated_at":"2026-02-01T22:31:21.191Z","avatar_url":"https://github.com/Freakwill.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-learn\n\nLet us learn how to use git command and GitHub\n\nLet us improve efficiency.\n\nLet us cooperate!\n\n## Reset\n\nuse the following command to go back to an old commit.\n`get reset --hard \u003ccommit\u003e`\n\nReset the current branch to the state of the commit specified by the n-th previous commit in the commit history, discarding all changes made after that commit and moving the HEAD pointer to that commit.\n`get reset --hard Head@{n}`\n\n## Branch\n\nCreate branch with `git branch new` \nand go to the branch via `git checkout new`\n\n## Merge\n\nmerge new to main by `git merge new`\n\n## Action\n\ncreate `.github/workflows/*.yml`\n\nExample:\n```yaml\nname: MyAction\n\non: [push, pull_request]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: Print OK\n        if: contains(github.event.head_commit.message, 'print')\n        run: echo \"OK!\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreakwill%2Fgit-learn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreakwill%2Fgit-learn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreakwill%2Fgit-learn/lists"}