Skip to content

Instantly share code, notes, and snippets.

@hironomiu
Last active August 29, 2015 14:13
Show Gist options
  • Save hironomiu/efe2b42fdc284d663239 to your computer and use it in GitHub Desktop.
Save hironomiu/efe2b42fdc284d663239 to your computer and use it in GitHub Desktop.
JSじゃんけん 事前準備

JSじゃんけん 事前準備

必須とついているものは必ず準備しましょう

テキストエディタ(必須)

GitHubアカウント(必須)

  • アカウントの無い人はGitHub公式にてアカウントを取得しましょう

Gitのインストール(必須)

  • Mac,Windowsともに参考サイトに倣ってインストールしましょう

    • Windowsでインストールする際は下記設定をしましょう

      「Select Components」「Windows Explorer integration -> Simple context menu(Registry based) -> Git Bash Her」にチェック

      「Adjusting your PATH environment」「Use Git from Windows Command Prompt」にチェック

    参考サイト:1.4 使い始める - Gitのインストール

GitHubアカウントにSSH keysの設定(必須)

  • 公開鍵、秘密鍵を下記コマンドで作成(注:Windowsの場合、Gitのインストールの際に導入したGit Bashでssh-keygenが実行出来ます)
$ ssh-keygen

GitHubへのSSH接続確認(必須)

  • 講義ではSSH 下記コマンドを実行(Windowsの場合Git Bashから)
$ ssh git@github.com
  • 以下のメッセージが返れば成功です。
Hi hironomiu! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.

Gitの設定(ユーザ名、メールアドレス)(必須)

  • commit時に設定されるユーザ「your name」、メールアドレス「hoge@example.com」について設定しましょう
$ git config --global user.name "your name"
$ git config --global user.email “hoge@example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment