One. Create a project on GitHub
After user login system, on GitHub home page, click "New Repository" in the bottom right corner
Fill in the project information:
Project name: Hibernate-demo
description : My first project
Click "CreateRepository" and now complete the creation of a project on GitHub.
Description: We created a github repository where only one item can be stored (or called a corresponding) in a warehouse.
Once you've created a repository, GitHub has given you a hint: it's clear that you'll see the tip when you've finished reading my article.
Global Setup:
Set up Git
git config--global user.name "Shirleyandgithub"
git config--global user.email [email protected]
Next steps:
mkdir Hibernate-demo
CD Hibernate-demo
Git init
Touch README
git add README
Git commit-m ' first commit '
Git remote add Origin https://github.com/shirleyandgithub/hibernate-demo.git
Git push-u Origin Master
Existing Git Repo?
CD Existing_git_repo
git remote add origin [email protected]:d Efnngj/hibernaet-demo2.git
Git push-u Origin Master
Importing a Subversion Repo?
Click here
When you ' re-done:
Continue
2. Project on GitHub to the ground
3. Submit a local project to the GitHub remote repository
Git push-u Origin Master
GIT Create Project