What should I do if multiple people develop a program at the same time?

Source: Internet
Author: User
Tags php website tortoisesvn
Three programmers develop a PHP website at the same time. How can we better work together? If you want to configure SVN, you can refer to the detailed tutorial. I don't know much about linux. SVN has such a function, A programmer uploads files to a computer in the company (as a SVN server), win... three programmers develop a PHP website at the same time. How can we better work together?
If you want to configure SVN, you can refer to the detailed tutorial. I don't know much about linux. SVN has such a function, A programmer uploads a file to a computer in the company (as a SVN server). In the window, I remember seeing a piece of software that compares the local code with the code on the SVN server, the local code is on the left, the SVN server code is on the right, and the code is pulled down. The inconsistencies are marked. The SVN server also supports automatic backup. After a new program is uploaded, it starts to hook something and then uploads it to the network server. Is there such a tutorial? Thank you ....
I have heard of github for windows. Can this implement the above functions?

Reply content:

Three programmers develop a PHP website at the same time. How can we better work together?
If you want to configure SVN, you can refer to the detailed tutorial. I don't know much about linux. SVN has such a function, A programmer uploads a file to a computer in the company (as a SVN server). In the window, I remember seeing a piece of software that compares the local code with the code on the SVN server, the local code is on the left, the SVN server code is on the right, and the code is pulled down. The inconsistencies are marked. The SVN server also supports automatic backup. After a new program is uploaded, it starts to hook something and then uploads it to the network server. Is there such a tutorial? Thank you ....
I have heard of github for windows. Can this implement the above functions?

Use the version management tool Git
You can synchronize codecodingTocodingAs a git library.

You don't know.gitWell Σ ( ̄ □ ̄ |)

Svn and git. Some principles are similar.
Svn: first, use the url of your project on the svn server and checkout the next project.
Then, you can perform update (update files submitted by others) and commit (submit files changed by yourself) operations on the checkout (download it) project. It is worth noting that, whenever you commit, you need to update the code to avoid overwriting the code written by others.
Git is actually about the same, and now it's all about git for windows desktop.
After downloading git, You need to configure it. ssh is the key. Whenever you submit the key, you need to confirm your identity. When your computer has this key, git does not need you to enter a password to verify your identity.
The subsequent operations are similar. It is also checkout, update, commit.
If you need to develop some testing functions. Let's take a look at branch development. It is actually quite simple. Creating a new version is equivalent to copying the project source code and developing new functions. When you feel OK, merge goes to the old Code, but there may be many conflicts. You can understand it later.

TortoiseSVN comes with a comparison function;
Alternatively, you can use Beyond Compare for comparison.

Code Compare is also very useful.

  1. Use the version management tool Git
  2. Vagrant for Development Environment
  3. Code hosting: Coding
  4. Write code PHPstorm

Easy Enough

Create a svn environment and install the svn plug-in on the development tool. I wonder if the development tool of the subject supports this plug-in.

If git doesn't have a big guy who knows git very well as a fireman, everyone will be waiting for it to kill. The git design is leaky commit action.

Git has always wanted to learn, but it has never been difficult to learn. It just prefers to find the open source stuff on github.

Git I simply use pull, push, and merge to synchronize code.

Using svn is quite simple,
Server:
Windows has a visual SVN Server Manager. Baidu has a free version. The free version cannot view service logs. Other functions are the same as those of the paid version. Of course there are also cracked versions. You can try it.
Client:
You can use TortoiseSVN, which is quite useful.

Of course, git is popular now. You can choose which one is useful.

Git is required, which is simple, powerful, and easy to use ~

Git guide: http://blog.lxx1.com/category/coding/git

Working in a big company for a while

Git git ...............

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.