Explain "git add ."
parent
f0271d3f47
commit
a1b410cccd
3
git.md
3
git.md
|
@ -34,7 +34,8 @@ Now we should be ready to create and upload the repository.
|
|||
cd public_html/
|
||||
# This will initialize public_html as a repository
|
||||
git init
|
||||
# Adds all files to the repo. Note: you can also add files one at a time
|
||||
# Adds all files to the repo. "." means "the current directory" (public_html, in this case)
|
||||
# Note: you can also add files one at a time
|
||||
git add .
|
||||
# Commits files to local repo
|
||||
git commit -m "first commit of tildeweb"
|
||||
|
|
Loading…
Reference in New Issue