21. More information about the structure

Goals

  • Add one more file in our repository

01 Adding index.html

Let us add an index.html file to the repository. The following file is perfect for this purpose.

File: index.html

<html>
  <body>
    <iframe src="lib/hello.html" width="200" height="200" />
  </body>
</html>

Add the file and make a commit.

Run:

git add index.html
git commit -m "Added index.html."

Now when you open index.html, you should see a part of the hello page in a small window.

SVN?
© 2011-2014 Git How To. All rights reserved / Contact us