ローカルからリポジトリを作成して Push するCreate a repository from local and push
プロジェクト用のローカルフォルダを用意する(既存のフォルダでよい)Prepare a local folder for your project (or use an existing one)
GitHub Desktop を開くOpen GitHub Desktop
File → Add Local Repository でそのフォルダを選択する まだ Git で管理されていないフォルダの場合は「リポジトリを作成」する旨の案内に従い、Create a repository で新規作成File → Add Local Repository and select that folder. If the folder is not yet a Git repo, follow the prompt and choose Create a repository
リポジトリがまだ GitHub 上にない場合: 画面上の Publish repository(または Repository → Publish repository)をクリックし、リポジトリ名・説明・Public/Private を設定して PublishIf the repo is not on GitHub yet: click Publish repository (or Repository → Publish repository), set name, description, and Public/Private, then Publish
Push origin をクリックしてプッシュするClick Push origin to push
既に GitHub にリポジトリがある場合は、下の Step 1(リポジトリをクローン)から進めてください。If you already have a repo on GitHub, start from Step 1 (Clone repository) below.
yuta-nihei/dev を選んで CloneSelect yuta-nihei/dev and click Clone
02
index.html を配置Place index.html
dev-manual.html をダウンロードDownload dev-manual.html
ファイル名を index.html にリネームRename the file to index.html
クローンしたフォルダ(dev/)の中に入れるPut it inside the cloned folder (dev/)
💡 GitHub Desktop の Show in Finder(Windows は Show in Explorer)ボタンでフォルダを開くと便利です💡 Use Show in Finder (Windows: Show in Explorer) in GitHub Desktop to open the folder easily.
03
Commit & PushCommit & Push
GitHub Desktop に戻ると変更が自動検知されるReturn to GitHub Desktop; changes are detected automatically
左下の Summary に Add dev manual と入力Enter Add dev manual in the Summary field (bottom left)