Return to Video

CM - init

  • 0:00 - 0:02
    All right. There are a bunch of new concepts here.
  • 0:02 - 0:04
    Let's start with init.
  • 0:04 - 0:05
    Init creates a repository and
  • 0:05 - 0:09
    doesn't directly relate to any of the other concepts currently on the map.
  • 0:09 - 0:10
    So it seems pretty straightforward.
  • 0:10 - 0:12
    We just want to connect it to repository.
  • 0:12 - 0:15
    Since it does something with repository, it creates it.
  • 0:15 - 0:17
    This is an operates on connection.
  • 0:17 - 0:20
    There's only spot that makes sense for init, given this.
  • 0:20 - 0:22
    The rest of these are a little bit trickier.
  • 0:22 - 0:24
    Let's think about the staging area.
  • 0:24 - 0:28
    You put things into the staging area before you make a commit.
  • 0:28 - 0:30
    So it's pretty related to the concept of a commit.
  • 0:30 - 0:31
    Git add and
  • 0:31 - 0:35
    git status both work on the staging area to help you make the commits.
  • 0:35 - 0:38
    Both of these are going to have operates on connections to the staging area.
  • 0:38 - 0:41
    Status also shows you what's in your working directory, so
  • 0:41 - 0:44
    it'll have an operates-connection to working directories as well.
  • 0:44 - 0:48
    So this gives us enough information to fill in all of these.
タイトル:
CM - init
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
UD775 - How to Use Git and GitHub
Duration:
0:49

English subtitles

改訂 Compare revisions