Loading...

Git Tutorial

More information about the structure in git

Add one more file in our repository

Step1: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.