After the code is cloned from the remote repository to the local repository, the next thing to do is to add the project from the local repository to the STS, and you can edit the project code yourself, but how to import the project from the local repository into the STS. What? The following details, directly on the dry goods
Right-click / Team / Pull executes a 'git pull' in the background. It will try to auto-merge ('git fetch FETCHHEAD' followed by 'git merge'). Conflict Detected. The red symbols signal a conflict that could not be resolved. Right-click on the conflicted source file and select Team / Merge Tool Settings for the Merge Tool. Accept the default. Spring Tool Suite 3.9.13: New and Noteworthy. This is a minor bugfix and maintenance release that we ship to our existing STS3 users beyond the announced maintenance lifespan for your convenience. We strongly recommend to update to the new Spring Tools 4.
Clone from Git and import the project to Spring Tool Suite, so that the import project is associated with Git, which is behind the file directory.This sign.
(1) General practice steps:
Spring Tool Suite Git
(2) After such a step, I found that the imported project is not associated with git, then I changed it in other ways (I have been troubled by this problem for a long time, and tried many methods to find out this method)
Then follow the steps of the first method, import the project, after importing, you will find that the project is still not associated with Git.
Right click on the project - 'delete', please do not check the delete box. Python datetime timezone.
Then go back to the library you just created
Spring Tool Suite Git Repository
The remaining steps are the same as the first method. Once completed, you can see that the re-imported project file is associated with Git.