Background: recently developed a set of bidding system, I am how to use JSP on the network structure of an online bidding system, in order to promote the website paperless, electronic process, intelligent management development.

Use Git for uploading.

First of all, you should have a Git tool and a Github account. If you don’t have one, prepare in advance. I already have the database and source code in my local folder. I will operate directly in that folder.

Go to the folder. Go to git -> git Bash Here -> git init. Create a. Git folder under the directory.

git init

Check the status

git status

 

Git add + the name of the file you want to add or git add –all

git add –all

This command will add all files in the current path to the list of files to be uploaded.

 

Git commit -m -m adds a brief explanation of the operation, adding that you have changed the code or re-uploaded anything to make a brief explanation, others will see what is going on. Git status:

Git commit -m

Go to Github to Create your Repository, click Create Repository, and proceed step by step to get the HTTPS address of the Repository

You can also use SSH to configure public keys. Please refer to my previous article: GitLab or Gitee to create/add SSH public keys

Github.com/sunmenglei/…

 

Upload code to github remote repository. After the execution is complete, if there is no exception, wait until the execution is complete, the upload is successful. The middle may ask you to enter Username and Password, you just need to enter the Github account and Password

git push -u origin master

 

Check out the main branch submitted on Github, ok done, come on workers