Placeholder Image

字幕表 動画を再生する

  • What's the first step in using GitHub?

    GitHub使用の第一歩とは何でしょう。

  • Initializing a repository;

    リポジトリを初期化することです。

  • We'll show you how.

    やり方をお見せしましょう。

  • [GitHub & Git Foundations]

    [GitHub & Git Foundations]

  • Hi, I'm Tim Berglund.

    こんにちは。ティム・バーグランドです。

  • Welcome to another episode of GitHub Foundations.

    GitHub Foundationsのエピソードへようこそ。

  • In today's episode, we're going to talk about

    今日のエピソードでは

  • how to initialize a repository.

    リポジトリを初期化することを話したいと思います。

  • That's a thing you can do locally, on your computer,

    ロカールでできることです。 自分のコンピュータか、

  • or in the cloud at github.com.

    github.comのクラウドでできます。

  • We'll show you both ways.

    両方のやり方もお見せしましょう。

  • [Local Repository]

    [ローカル リポジトリ]

  • Suppose you've already got a project going

    例えばコンピュータに

  • on your computer.

    プロジェクトをやっていてー

  • You've done some work, and then you realize

    既に作業がある程度までやっていたが、

  • you should really have this going under version control.

    それをバージョン管理のしたでやったほうがいいと 気がつきました。

  • It's simple. When you're in your project directory,

    簡単です。プロジェクトのディレクトリのなかでー

  • at the command line, just type git init.

    コマンド行でgit initを入れるだけで

  • It turns the directory into a git repository,

    ディレクトリをgitリポジトリに変えることが出来て、

  • and it's completely non-destructive.

    完全に非破壊です。

  • If you're feeling a bit more disciplined,

    もっと規則に従いたいならー

  • maybe you'll want to get the project

    はじめからプロジェクトを

  • under source control before you get started.

    ソース管理の下に入れたいかもしれません。

  • This is easy too.

    これも簡単です。

  • Before you begin a new project, just type git init,

    新たなプロジェクトをはじめる前にgit initを打って

  • and then the name of the directory you'd like git to create.

    それからgitに作ってもらいたい ディレクトリの名前をいれます。

  • That's the name of the project.

    それがプロジェクトの名前です。

  • That'll create a directory already initialized

    こうやって初期化したディレクトリを

  • as a git repository.

    gitリポジトリとして作成できます。

  • Git is useful locally, but the real magic happens

    Gitはローカルでも役に立ちますが、github.comで他の人と

  • when you start to collaborate with other people on github.com.

    恊働し始める時にこそ本当の魔法が起きます。

  • Let's look at how to create a new repository there.

    そこでどうやって新たなリポジトリを作られるかを 見てみましょう。

  • [Repository on GitHub.com]

    [GitHub.com上のリポジトリ]

  • Just sign in to github.com

    github.comにサインインしてー

  • and look for the new repository button.

    新たなリポジトリのボタンを探します。

  • Click on that, and then type in a name for your project.

    それをクリックをしてプロジェクトの名前を入力します。

  • Mind you, this name doesn't have to be globally unique.

    ただしこの名前はグローバルに一意である 必要がありません。

  • It just has to be unique within the repositories you have.

    所持しているリポジトリ内だけで一意であれば結構です。

  • Your username serves as

    あなたのユーザーネームは

  • a name space for all your project names,

    全ての名前空間になりますがー

  • which makes picking one a lot easier.

    それによって選択することが大変簡単になります。

  • Now decide whether you want the repo to be public or private,

    それからリポジトリをパブリックにするか プライベートにするかを決めます。

  • and whether you want GitHub to create a "Read Me"

    それとGitHubに"Read Me"を作ってもらうかー

  • or a .gitignore file.

    .gitignoreファイルを作るかを決めます。

  • The "Read Me" just tells people what your project is about.

    "Read Me"はただあなたのプロジェクトは 何に関するのかを人に教えるだけでー

  • .gitignore tells git what files you don't want

    .gitignoreはバージョン管理のなかで あなたのいらないファイルをー

  • under version control.

    gitに知らせます。

  • We'll cover this more in a future episode.

    詳しくは近いうちのエピソードで話します。

  • If you already have a project on your computer that you want

    コンピュータの中で既にGitHubにpushしたいプロジェクトがあればー

  • to push up to GitHub, skip those steps.

    そのステップを飛ばしてください。

  • If you haven't made a project locally on your computer yet,

    もしコンピュータでローカルのプロジェクトを まだ作成していない場合、

  • it can be really convenient to have GitHub create that

    GitHubに"Read Me"と.gitignoreファイルをー

  • "Read Me" and .gitignore file for you.

    作ってもらうことはすごく簡単です。

  • After you've got a local repo on your computer,

    コンピュータ上にローカルなリポジトリを一つあって、

  • and one up on github.com, you're going to need

    github.com上にも一つがあったら、

  • to get the two of them connected.

    二つをコネクトする必要があります。

  • GitHub gives you some help in that direction,

    GitHubはその方にある程度の協力を提供してくれますが、

  • but before we get there, there's some other material

    それをやる前に他の内容について

  • we'd like to cover first.

    話したいと思います。

  • [Thanks for watching]

    [ご覧いただきありがとうございます]

  • Thanks for watching this episode of GitHub Foundations on Init.

    InitでGitHub Foundationsのエピソードをご覧いただきありがとうございます。

  • If you liked this, subscribe to GitHub Guides right here,

    お気に入れたらGitHubsガイドに登録してください。

  • and don't forget to check out our other GitHub channels

    ここにGitHubチャンネルの他のビデオもご覧ください。

  • down here. If you have a question or a comment, as always,

    質問やコメントなどありましたら、いつものようにー

  • we'd love for you to leave that down below, and if you want

    下に書いていただければ嬉しいです。

  • to see more training videos like this one, check out

    これみたいなトレーニングをもっと観たいなら

  • these guys down here.

    こちらへどうぞ。

What's the first step in using GitHub?

GitHub使用の第一歩とは何でしょう。

字幕と単語

ワンタップで英和辞典検索 単語をクリックすると、意味が表示されます