How to Manage Your Projects and Solve the Annoying Project Passing Around

                                                                  project management

        These four words seem to be far away from us. This is just because you are a student. We have already encountered project file packages that use qq files to pass around in the team. Each update requires mutual inquiries and integration. , I have already written a bit, but I have to ask the team members about the pain of the latest package, but I still feel that it is okay, because there are only 2 developers, but will there be only 2 in the future? I don’t see it all, how can a team team be alone, so how to solve this problem, can you update the latest documents with one click during Eclipse development, upload to the shared server with one click, and download the latest version directly by right-clicking on the project ? At the same time, it can monitor the changes of the project, who made the changes, and go back to earlier versions , just because I think everyone has experienced this except for the bugs that cannot be found, so here is the version control artifact git--distributed version controller. DVCS ( Distributed Version Control System)  ). The sharing community github can be said to be well-known, and it is used at home and abroad, but the website currently used is in English, so let's exercise.

       So try today how to use git--local repository local repository

===============================================================================

【repository】:

Warehouse, as the name suggests, we save various versions of the project in this warehouse, so that we can take it out and put it back.

【Ready to work】:

1. Download git, usually eclipse already has git.

help->installation detials->

 and then found this, then you need to register your name and email address, please refer to Baidu online for details

until --windows-preferences-git-configuration-

Your own name and email

2. Register an account on github--create a repository repository, clone URI after this is useful in the project

==============================================================================

【Start test】:

1. First create a project or use an existing project

2. Right-click the project->team->share project



 The repository here is a local repository, which is placed in your local project package. When you open the local project package, you will find a git package under the package.

3.team->commit


At this time, add the submitted Message as the logo, and select the new Activity on the right to add to the index

Because I have all joined the local warehouse before, so the new one is not added, and this one is not added, so join, and then commit

4. About the modified version - submit git local warehouse

Now let's do an experiment to see if we make changes, whether two versions will be displayed, and where the changes are made

This function has a bug in our development process, but it ran fine before, so the problem should be in the code we added later. As the culprit of the bug, we need to find and modify it.

team->show history



 use compare mode

Then click on the changed file shown below, the file I modified is MainActivity.java



 
 The picture above shows the changes very well, the logo is very clear

git will show the time period of each modification and who modified it

 

Today our local git repository is here. The next time we will experiment with the online repository, which is github, we will upload our latest project to github, and the team members will download and update the latest version to their own eclipse.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326116533&siteId=291194637