{"id":18330342,"url":"https://github.com/jackfrued/code","last_synced_at":"2026-01-20T06:33:20.826Z","repository":{"id":65976555,"uuid":"138271589","full_name":"jackfrued/code","owner":"jackfrued","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-23T04:16:24.000Z","size":612,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T18:01:11.383Z","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/jackfrued.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}},"created_at":"2018-06-22T07:42:31.000Z","updated_at":"2022-04-03T07:55:48.000Z","dependencies_parsed_at":"2023-02-19T18:30:44.680Z","dependency_job_id":null,"html_url":"https://github.com/jackfrued/code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jackfrued/code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfrued%2Fcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfrued%2Fcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfrued%2Fcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfrued%2Fcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackfrued","download_url":"https://codeload.github.com/jackfrued/code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackfrued%2Fcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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-05T19:21:59.418Z","updated_at":"2026-01-20T06:33:20.810Z","avatar_url":"https://github.com/jackfrued.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git演示项目\n\n2018年6月22日\n\n- `git init`\n- `git add \u003cfilename1\u003e \u003cfilename2\u003e`\n- `git add .`\n- `git checkout -- \u003cfilename\u003e`\n- `git checkout -- .`\n- `git status`\n- `git config --global user.name \u003cusername\u003e`\n- `git config --global user.email \u003cemail\u003e`\n- `git commit -m 'reason'`\n- `git log`\n- `git reset --hard HEAD^`\n- `git reset --hard \u003cversion\u003e`\n\n- `git remote add origin \u003curl\u003e`\n- `git push -u origin \u003cbranch\u003e`\n- `git pull`\n\n\n1. 克隆项目到本地\n```git clone \u003curl\u003e```\n  \n2. 创建并切换到自己的分支\n```git branch jack```\n```git checkout jack```\n或\n```git checkout -b jack```\n\n3. 在自己的分支上做开发然后实施版本控制\n```git add .```\n```git commit -m 'reason'```\n\n4. 将自己的工作合并到master上 \n```git checkout master```\n```git merge jack```\n如果不希望使用fast-forward方式合并（git log中没有分支记录）\n```git merge --no-ff jack -m 'reason'```\n\n5. 如果想通过图形化的方式查看到分支信息\n```git log --graph --pretty=oneline --abbrev-commit```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackfrued%2Fcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackfrued%2Fcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackfrued%2Fcode/lists"}