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