Svn: Centralized version controller. First, developers must get the code from the server before starting a new day's work, and then enter their own branch for development. After the development is completed, merge their own branch to the main branch for submission, and solve the problem. conflict. All version information is placed on the server. If you are disconnected from the server, it can basically be said that developers are unable to work.
Git:Distributed version controller is safer than centralized version library, because everyone has a complete version library on their computer, so we don’t need to be connected to the Internet when working.
Difference: Let’s talk about the centralized version controller first, Svn command:
(Add file)(Commit file (Modify file)(Delete file)(View log)(View file details)(svn help)(Create a new directory under the version controller) (Conflict resolution)
Git commands:
(Create a new git code base in the current directory) (Show the current git configuration) (Add) (Delete the workspace file)(Rename) (Submit) (View all local branches) (Show Version history of the current branch) (Upload local branch to remote repository) (Retrieve changes from remote repository and merge with local branch)