Return to Video

Initializing a Repository Solution - How to Use Git and GitHub

  • 0:00 - 0:03
    Git doesn't any commits when you create the repository.
  • 0:03 - 0:04
    You'll have to do that yourself.
  • 0:04 - 0:06
    So the correct answer here is zero.
  • 0:06 - 0:11
    Now Git could create an initial commit with everything in the directory, but
  • 0:11 - 0:13
    it doesn't do that for a couple of reasons.
  • 0:13 - 0:16
    The first is you might not want to commit everything in the directory, and
  • 0:16 - 0:19
    second, you wouldn't be able to write your own commit message if
  • 0:19 - 0:21
    Git created the commit for you.
  • 0:21 - 0:24
    You can find out what commits are in your repository by running git log.
  • 0:24 - 0:26
    Let's try that out on this new repository.
Title:
Initializing a Repository Solution - How to Use Git and GitHub
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
UD775 - How to Use Git and GitHub
Duration:
0:27

English subtitles

Revisions Compare revisions