{"id":28122450,"url":"https://github.com/00kenno/how_to_use_github","last_synced_at":"2026-01-22T08:33:03.261Z","repository":{"id":287013050,"uuid":"963278137","full_name":"00kenno/How_to_use_GitHub","owner":"00kenno","description":"鳥科電装26代におけるブラウザ版のGitHubで開発を進める方針","archived":false,"fork":false,"pushed_at":"2025-04-14T06:38:09.000Z","size":604,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T08:13:40.150Z","etag":null,"topics":["git","github","github-browser"],"latest_commit_sha":null,"homepage":"","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/00kenno.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":"2025-04-09T12:40:09.000Z","updated_at":"2025-04-14T06:38:12.000Z","dependencies_parsed_at":"2025-04-09T13:44:07.197Z","dependency_job_id":"45ba33ed-0292-4d48-9fee-26802829ffd7","html_url":"https://github.com/00kenno/How_to_use_GitHub","commit_stats":null,"previous_names":["00kenno/how_to_use_github"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/00kenno/How_to_use_GitHub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00kenno%2FHow_to_use_GitHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00kenno%2FHow_to_use_GitHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00kenno%2FHow_to_use_GitHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00kenno%2FHow_to_use_GitHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/00kenno","download_url":"https://codeload.github.com/00kenno/How_to_use_GitHub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00kenno%2FHow_to_use_GitHub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28659518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["git","github","github-browser"],"created_at":"2025-05-14T08:13:40.171Z","updated_at":"2026-01-22T08:33:03.246Z","avatar_url":"https://github.com/00kenno.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHubの使い方\n鳥科電装26代におけるブラウザ版のGitHubで開発を進める方針についてまとめる．\n\n## 方針\n- 必要要件は，誰による, どんな編集かが明確にわかること. \n- ローカルファイルの同期は必ずしも必須ではない. \n- Gitの構造を理解しきれていない人がいる中でGitの利用を強制するのは得策ではない. \n- 「ファイルの変更履歴を残せるクラウドストレージ」としての利用ならブラウザ版で十分と判断した. \n\n## 練習\n|1|右上の緑の「\\\u003c\\\u003e Code」をクリックする．|  \n|---|:---|\n||\u003cimg src=\"images/code_button.png\"\u003e|\n\n|2|「Download ZIP」をクリックする．|\n|---|:---|\n||\u003cimg src=\"images/download_zip_button.png\"\u003e|\n\n|3|任意のフォルダーで展開する．|\n|---|:---|\n||作業をする展開先のフォルダーをあらかじめ決めておくと良いでしょう．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/unzipping.png\" width=\"500px\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/unzipped.png\" width=\"500px\"\u003e|\n\n|4|作業をする．|\n|---|:---|\n||すべてのファイルに何かしらの文字を追記して保存しましょう．ここでは「Modified!」と追記しました．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/modifing_txt_file.png\" width=\"400px\"\u003e|\n\n|5|GitHubのリポジトリにアップロードする．|\n|---|:---|\n||右上の「Upload files」からアップロードできます．ただし，アップロードする場所を状況に応じて適切に選択してください．\u003cbr\u003e\u003cbr\u003e**a. あるファイルを1つだけ編集した場合**\u003cbr\u003e画像を参考に「a.txt」をアップロードしましょう．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/uploading_one_file.png\" width=\"500px\"\u003e\u003cimg src=\"images/adding_one_file.png\" width=\"350px\"\u003e\u003cbr\u003e\u003cbr\u003e**b. 特定のフォルダー内にある1つのファイルを編集した場合**\u003cbr\u003e画像を参考に，もともと「b.txt」があった場所（dir1）に移動してから **a.** と同様に「b.txt」をアップロードしましょう．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/cd_to_dir1.png\" width=\"500px\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/uploading_one_file_in_dir1.png\" width=\"500px\"\u003e\u003cbr\u003e\u003cbr\u003e**c. 特定のフォルダー内にある複数のファイルを編集した場合**\u003cbr\u003e画像を参考に「c.txt」「d.txt」が入っているフォルダー（dir2）ごとドラッグ＆ドロップして，アップロードしましょう．**b.** と同様に場所を移動してから，複数選択してドラッグ＆ドロップすることもできます．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/adding_folder.png\" width=\"500px\"\u003e|\n\n|6|新しいブランチにコミットする．|\n|---|:---|\n||ラジオボタンで下のオプション「Create a **new branch** ...」を選択します．ブランチ名は自動入力されたものをそのまま使用するようにしましょう．（{UserName}-patch-1など）\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/create_a_new_branch.png\" width=\"500px\"\u003e|\n\n|7|Pull Requestを作成する．|\n|---|:---|\n||自身の変更に対する承認を要求できます．特に何も手を加えずに続行しましょう．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/creating_pull_request.png\" width=\"500px\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/created_pull_request.png\" width=\"500px\"\u003e|\n\n### 以降はMainブランチに変更を与える操作です．\u003cbr\u003e基本的にはそのリポジトリを管理するユーザー自身が操作してください．\n\n|8|Pull RequestをMergeする．|\n|---|:---|\n||変更を承認する場合は，Pull RequestをMergeして変更を適用しましょう．「No conflicts」とある場合は問題なくMergeできます．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/merging_pull_request.png\" width=\"500px\"\u003e\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/merged_pull_request.png\" width=\"500px\"\u003e|\n\n|9|不要なブランチを消す．|\n|---|:---|\n||Mergeが完了し，不要になったブランチは消すことができます．「Delete branch」をクリックしましょう．「Revert」や「Restore branch」で復元することができます．\u003cbr\u003e\u003cbr\u003e\u003cimg src=\"images/closed_pull_request.png\" width=\"500px\"\u003e|\n\n**以上です！お疲れさまでした！**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00kenno%2Fhow_to_use_github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F00kenno%2Fhow_to_use_github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00kenno%2Fhow_to_use_github/lists"}