Soft work Practice one--personal

Source: Internet
Author: User
Tags hosting using git

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.