-
git init
Create an empty Git repository or reinitialize an existing one. Running git init in an existing repository is safe. It will not overwrite things that are already there. -
git add
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.
-git commit
Stores the current contents of the index to repository, along with a log message from the user describing the changes.
网友评论