IDEA publishes the project to the gitee repository

Steps to publish a project to a gitee repository using IDEA

1. First create an empty project, name it gitcode, note that the path names are all in English
insert image description here
2. Configure the setting of the project
insert image description here
3. Search for enco, and the language in the configuration is UTF-8
insert image description here
4. Download the plugin, gitee and lemon
insert image description here
insert image description here
5. Download the plugin , check whether the installation is successful
insert image description here
5. Click Git to see if the path is your own exe installation path, or you can check the git version
insert image description here

6. Log in to gitee with your email insert image description here
7. Click vcs to import a folder, here I choose gitcode
insert image description here
8. After completion, you can see that there is an additional (.git) folder in the original gitcode, you may not see it, yes Hidden folders can be set in View

insert image description here

9. Create a maven module
insert image description here
10. Modify the exclude file in the (.git) folder
insert image description here
Edit the file as follows
insert image description here

# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

HELP.md
target/
out/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
.gitignore
### maven ###
mvnw
*.cmd
.mvn/

11. You can see the button with add in git.
insert image description here
12. Click commit
insert image description here
and click commit, maybe in the bottom repository

insert image description here
12. Create a new warehouse in the code cloud, here my name is test002
insert image description here
13. Paste the newly created path in the idea, and the insert image description here
upload is completed.
insert image description here
13. Click this to also publish and submit. If there is an arrow in the upper right corner, you can also use the arrow insert image description here
14. You can create a new class in it.
insert image description here
14. Rewrite the description
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/yilingpupu/article/details/117150216