"Start from scratch" "Java" "1" Git and svn

Source: Internet
Author: User
Tags git clone git commands

Chat

Work 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 remember.

This time from scratch, intend to make a little longer, like a frame, related things are loaded inside, and then finally form their own network diagram, refueling!

From scratch, is to say from the zero start of the project, the basic language and so on or will be ah, here will not, check is very basic very basic things.

In short, this thing, the first user is my own, and then everyone oh.

Begin

Where to put the project always, and then consider the mobile office what, it is best to have version management, then get git and svn chant

Git

Directly on the steps:

    • Registering a git account
    • Create a warehouse (repository) (it's actually a matter of filling out a form)
    • Download git to Local
    • To the folder where you put the project, right-click Git bash,git clone project address
    • CD cut it in.

The other thing to note is version management, recommended a git tutorial on the Xuefeng Liu

Probably summed up, there are several aspects:

    • Branch Management
    • Version Management
    • Code submission and update operations
    • Other (custom git, tags, etc.)

After getting started, I need to be more familiar with the command, I use, and constantly update to common git commands

Okay, Git's done. I used the branch Javafromzero

Svn

Well, this thing works, but foreplay. Well, I mean, the pre-configuration is bad.

Compared to the global remote repository of git, this svn wants to do a remote warehouse, it needs to do the server installed.

But on the use, more intuitive (graphical, especially in terms of code differences), and said the binary file processing is very friendly. (see here for binary files)

So, the company to use this more friendly, have problems and then go directly to the official website documents, such as TORTOISESVN official documents

End
    • Use remote git+ local git software for shared development + version control;
    • SVN local version control, remote is not suitable for individuals to do long development, suitable for corporate use, more intuitive.
    • Familiar with git tutorials, git commands, SVN official documents, binaries

"Start from scratch" "Java" "1" Git and svn

Related Article

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.