Both SVN and git are widely distributed code versioning tools, and the actual project will often combine the two, so how to associate a local code with the two organically!Premise: The project is already in the development phase, at this time changed the address of the SVN code base, or the group of new people, need you to help configure the environment, what do
SVN.
Pollution-free gitGit generates only one. Git directory for each project. All version control information of this project is in this directory, and The. SVN directory is not generated in every directory as SVN does.
Currently, git has the following shortcomings:
Simple and rough, the orders are as follows:
git svn clone https://localhost:8443/svn/www/–no-metadata–trunk=trunk www
Parameter description:
The no metadata parameter is to prevent Git from exporting the additional information that SVN contains, so the record submitted t
on the Windows platform, and is not free software, security is not high, so the application is not too extensive.GIT (a lot of very small and powerful) is an open source distributed version control system for efficient, high-speed processing from very small to very large project version management. Git is an open source version control software developed by Linus Torvalds to help manage the development of the Linux kernel.3.
git for Windows 2.5 release, after the update, using git svn, errorGit svn rebase Or git svn dcommitAfter a update of GIT for Windows 2.5,i encountered this problem.$
Recently playing git, just talk about the difference between git and SVN.
1. The most important difference is that git is distributed, and SVN is not distributed.
GIT has its own centralized repository and server side like
Git svn command
All of the Subversion bridge commands in Git are based on git svn. All commands start with it. The number of related commands, this article but more introduction git svn
Learn about git recently and compare it with the previously used SVN to get a better understanding of the pros and cons of both.
In fact, git and SVN are quite similar, there are submissions, merging, and so on, it seems that this is the basic operation of the source management tools.
1.
Tag:svngit terminal All with terminal operation, no client-side assist . SVN Find the path you want to save and manipulate 1.check out (abbreviated CO) SVN co path For example: SVN co svn:// 192.168.0.1/demo/ss 2.add (add File) SvN add file For example
Use git and svn, and use gitsvn
Projects on the server are managed using svn.
Originally, local projects were managed through svn. However, when svn Branch functions were used for project testing/new functions, various problems always occurred, and
ChatWork almost a year, feel the work of a good thing also have a little, but there is a kind of not transparent feeling, check a problem, can find a pile of things do not understand.Before the new document is a record point drops of knowledge, the use of no problem, but the principle of what still do not understand, think, after all, is not from scratch, after all, hands is the best teacher.All right, try to update it later, or you have to think of the output to have the power to write and reme
Recently, I started to learn git and compare it with the commonly used SVN to learn more about the advantages and disadvantages of both parties.
In fact, git and SVN are very similar, and they all have operations such as commit and merge. It seems that this is the basic operation of the source code management tool.
Tags: HTTP Io OS use the for strong SP file onDownload SVN => download msysgit and tortoisegit
Msysgit: http://msysgit.github.io/Tortoisegit: https://code.google.com/p/tortoisegit/wiki/DownloadSvn-checkout => Git-clone
SVN checkout directly uses the user name and password to obtain the project code, while git requires
One, SVN
SVN (Apache Subversion) is an open source version control tool that uses a branching management system relative to RCS and CVS. is its advantage. Material Reference: Rookie Tutorial-svn.
Use:
Server side:
A. Creating a user
B. Creating a new warehouse (version library)
C. Import the initialization project version to the new version library
Client:
A. Che
From: Http://www.sineysoft.com/blog/catalog.asp?tags=svn+git+tortoisegit+ssh+%E9%85%8D%E7%BD%AE
Previous version management of the project has been using SVN, recently found Git, was immediately attracted by the characteristics of his profile, immediately kicked SVN out of
, without server-side software support, so that the release and exchange of source code is extremely convenient. Git is fast, which is naturally important for large projects such as Linux kernel. The best of Git is its combined tracking (merge tracing) capabilities.
Reference
The difference between
4, Git
Git is a ve
Git is also moderately skilled and understands its philosophy. However, SVN is always half a bucket of water.I searched several SVN articles online and summarized them as follows:SVN branch development and trunk Merge (branch merge)Http://blog.csdn.net/bbirdsky/article/details/24620155Tortoisesvn graphic operations, suitable for beginners.Create and merge branch
When git svn clone obtains the source code library with a Chinese file name, the file name is garbled.
The solution is:
1) The git svn clone command cannot be used.
2. git.exe svn clone "svn source code library url" "local wo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.