Git Learning (i)

Source: Internet
Author: User

1 project directory is not correct, just start for the fixed display of the Java EE mode. Choose Windows/open Perspetive/java, switch java mode is OK

2 git Contemporary code 1. Find the SSH address for the project: [Email Protected]:bigdataplatform/branch-aging.git

2. Open git bash and go to the command line

3. Switch to the directory you want to import into: CD C://users/wanglei/git

4. Execute import command: Git clone [email protected]:bigdataplatform/branch-aging.git

5. Import to Eclipse Project: (file--import--existing maven Projects--next--next ... )

3 git in eclipce Contemporary code: 1.file--import--projects from Git--clone URI--...... (You can choose the branch master,dev inside)

4.git Code Versioning: Local Code (Workspace) local server (local warehouse) remote server (server)

Local code > (commit) > Local server > (push) > Remote server

Remote server > (FETCH) > Local server > (pull) > Local code

Conflict: After adjusting the file code for the conflict, it is not possible to submit it directly, at this time (Team--add to index), then you can commit the

Working directory (working directory)--add to index--staging area (buffer)--commit--repository (local server)

Git Learning (i)

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: 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.