- Use Gitbash as a local client, download it here, and install it (previously this machine has been installed, the process is slightly);
- Open the GitHub profile and click the plus sign in the top right corner to select New repository.
- Fill in the project name and introduction, select. Gitignore and license (here in C + + as an exercise), click Create Repository;
Choose HTTPS or SSH, copy the project link, and clone the project to local using Git clone;
Modify README.MD,
Use git add readme.md to add files to staging area, use git commit-m "Modify README" to submit files to the local library, and use git push to push the local library to the remote library;
Check for updates to your own GitHub;
This assignment learns the use of GitHub project creation and basic GIT commands, laying a good foundation for further learning.
Liu Kai: git operation and learning experience