December 2008
Intermediate to advanced
184 pages
4h 47m
English
Now you have our repository in place, and you’re already tracking your first file. Next up you have to start dealing with changes.
The HTML is missing the <head> and
<title> elements. Add them. Now your
index.html file should look like this:
|
<html> |
|
|
<head> |
|
|
<title>Hello World in Git</title> |
|
|
</head> |
|
|
<body> |
|
|
<h1>Hello World!</h1> |
|
|
</body> |
|
|
</html> |
You know your file changed, and so does Git. The command
git status shows you how Git sees your
working tree, which is your current
view of the repository. Subversion and CVS users will recognize this
as their working copy.
|
prompt> git status |
|
Read now
Unlock full access