Code Base Links: https://github.com/FZU2015France/firstproject.git
Download for 1.Git
I myself downloaded the latest version on the official website,
Click Next until Finsh ends the installation
Then run Cmd.exe, enter Git, if it appears, it means that the GIT installation is successful
Configuration of 2.Github
Once the github.com is set up, the local SSH key can be used to make a remote connection to the local and generate a key command:
$ CD ~/.ssh
$ ssh-keygen-t rsa-c "EmailAddress" (followed by your own mailbox)
Next, add SSH key to GitHub
In the key box, check the. Ssh/id_rsa.pub in the home folder to copy all the text inside the file into the key box, and then GitHub is configured.
3. Uploading items to GitHub
Start the git base command line
Enter Git clone (...). )。。。 is the link to your code base.
Like my git clone https://github.com/FZU2015France/firstproject.git.
After success
Copy all files and folders from the downloaded project folder, including the. git folder, to the root directory of your managed project (or copy your managed project to the directory)
Copy Hello world to Firstproject
CD firstproject into the root directory of the managed project
Enter git Add.
Add the changes to the version manager.
Enter Git commit-m "..."
Submitted to the local version control repository,
... Is your description of this submission.
This time there was a small episode, said what can not find the email address, immediately go to Baidu, the solution is as follows
Enter git config--global user.email "email address" to do it.
Finally, enter GIT push-u Origin master and submit your local repository to your GitHub account.
You will be asked to enter your GitHub account number and password.
Finally done haha
Although using Git for code hosting is very convenient, but I always feel good trouble, it may be my first use of the lack of proficiency caused it, write the experience before I went to see the Teacher Mu Network link tutorial, Introduction version management tool installation and use, future project files are used to github for code hosting, Submitted to the GitHub account, I personally feel that the version management tool is still very powerful, like online said, use it, make a real "hero".
Soft work Practice one--personal