mirror of
https://github.com/tildeclub/tilde.club.git
synced 2026-03-23 11:20:19 +00:00
Explain "git add ."
3
git.md
3
git.md
@@ -34,7 +34,8 @@ Now we should be ready to create and upload the repository.
|
|||||||
cd public_html/
|
cd public_html/
|
||||||
# This will initialize public_html as a repository
|
# This will initialize public_html as a repository
|
||||||
git init
|
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 .
|
git add .
|
||||||
# Commits files to local repo
|
# Commits files to local repo
|
||||||
git commit -m "first commit of tildeweb"
|
git commit -m "first commit of tildeweb"
|
||||||
|
|||||||
Reference in New Issue
Block a user