- init Create an empty git repository or reinitialize an existing one
- add Add file contents to the index Add new files (directories) to the index of the Git code repository
- rm Remove files from the working tree and from the index to remove a file from the repository
- mv Move or rename a file, a directory, or a symlink move or rename a file from the repository
- commit Record changes to the repository Submit changes to the local repository
- diff Show changes between commits, commit and working tree, etc View the details of local file changes since the last commit
- log Show commit logs View previous commits
- revertRevert some existing commits to revert committed changes
- clone Clone a repository into a new directory Clone a repository into a new directory
- status Show the working tree status The current warehouse status, compared with the last time, whether there is any update or deletion
- checkout Checkout a branch or paths to the working tree
Introduction to GIT Basic Commands
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326219908&siteId=291194637
Ranking