GitHub uploads projects

Source: Internet
Author: User

GitHub is an online version management tool that has recently been popular, so try it out, run into problems and then record it.

Reference Blog

After registering your account, open the home page to create a warehouse, such as:

Follow the prompts to create your own warehouse.

After creating the interface as follows:

Submitting the local code requires a tool: Git-2.7.2-64-bit.exe, which can be downloaded by itself when the link fails.

After installation, right-click the folder where you want to upload the file, my directory such as:

Choose Git Bush here and a console dialog box appears:

Follow the input prompts:

Now input in console:echo "# ss" >> readme.md

Then add the uploaded file input:git add winfrom_arcengine_pointdistribution /*

Add file to start Commit, enter:git commit-m "First commit", this place will have a problem, see the following workaround.

Then enter the server address, enter:git remote add Origin https://github.com/yu969890202/ss.git

Finally, the file is submitted to the server, input:git push-u Origin master

This time there will be a dialog box popup, enter the account number and password to complete the submission.

After the submission has been refreshed, the effect is as follows:

An error occurred while executing the git commit-m "first commit" command:

Please tell me who is you.

Run

git config--global user.email "[Email protected]"
git config--global user.name "Your name"

This time you need to enter your mailbox and name

Input: git config--global user.email "[Email protected]"
Input: git config--global user.name "yu969890202"

Then enter:git commit-m "first commit" and the following command.

After the upload is complete, the effect is as follows:

winfrom_arcengine_pointdistribution

GitHub uploads projects

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.