Home > php教程 > php手册 > Version controller (Svn, Git)

Version controller (Svn, Git)

WBOY
Release: 2016-09-21 13:55:48
Original
1192 people have browsed it
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)
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template