Home > Web Front-end > HTML Tutorial > How to host your own maven project on github

How to host your own maven project on github

php中世界最好的语言
Release: 2018-02-26 09:27:14
Original
2256 people have browsed it

This time I will show you how to host your own Maven project on GitHub, and What are the precautions for hosting your own Maven project on GitHub? The following is a practical case, let's take a look.

1. Download

installgit and set the user name and email through the git config --global user.name "", and git config --global user.email "" commands ( The username is the github username, and the email address is the github email address)
2. Use ssh to bind git to github
3. Open the idea file->settings->Version Control->GitHub( Select Password for Auth Type and enter your github login email and password. Click test to test whether it is successful. Do not check Clone git Repository using ssh! Finally click OK)
4. Also select git under Version Control to set the path of git.exe. And click test to test whether it is correct and finally click OK.
5. Open VCS->import into Version Control->share Project on GitHub and follow the steps to complete the next steps. In theory, the project can be synchronized to GitHub;

Possible problems :

Delete the Repository
on github and then share project on github, the project is already on github pop-up window will appear Solution:
1. Close the idea
2. Open the hidden folder .git under the folder where the project is located, delete the contents of the config file except: [core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
and save it, reopen the idea and repeat the fifth step above. The problem is solved after testing;

I believe you have read these cases I have mastered the method. For more exciting information, please pay attention to php Chinese website

Other related articles!

Related reading:

Code to determine whether the login is invalid

##How to use getBoundingClientRect() to implement scrolling and fixation of the div container


CSS pseudo-class selector

The above is the detailed content of How to host your own maven project on github. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template