Tools: Local HelloWorld Source project
msysgit (Windows)
Lab steps : First, create a new managed project on GitHub
in http:/ /github.com registered account 20159214-sunnan.
Complete the registration, Go to the GitHub platform and click new repositories to create a new project
Enter project name HelloWorld Direct Create
Click the Clipboard icon in the right column to record the project address.
Second, upload the project to GitHub
Install a GIT client on the local computer:MsysgitWhen the installation is complete, go to the project root directory that you want to hostright-start git bash command line input git clone and then copy the previously recorded address to the back, enter
All files and folders that will be downloaded from the project folder, including the. Git folder, are all copied to the root directory of your managed project (or copy your managed project to that directory) CD HelloWorld into the root directory of the managed project.
Enter git Add. Add changes to the version manager
Finally enter GIT Push-u Origin master to submit the local repository to the GitHub account and enter the GitHub account number and password.
Problem:
Go back to the project page in github.com. The files inside didn't change. The GitHub project is not sure if the update was successful?
Open Source Project Hosting GitHub