Role: Version management for projects is closely related to git Operations 1. Local files uploaded to GitHub & nbsp; 1. Right-click the project Click Git bash here enter git init in the popup terminal to initialize the project and nbsp; 2. Enter git add . 3.git commit-m ' submit log ' & nbsp The steps above implement the process of adding local files to the local repository, and then sync to GitHub's online warehouses 1. Create a warehouse on GitHub 2. After you've created a word, copy it to the open terminal and press ENTER. (This step is the local warehouse and the online warehouse implementation connection) git Remote Add Origin Https://github.com/liyuzhiGitHub/demo2.git Note A pit: HTTPS and SSH are not the same 3. Enter Git push-v origin master Enter fill in GitHub account and password appear 100% description success 2. Clone your project update from GitHub and submit it again on github 1. Copy your project on the GitHub Web site with a cloned addressHttps://github.com/liyuzhiGitHub/demo2.git also pay attention to whether it is via HTTPS or SSH2. Create a folder locally right click and click Git Bash here to enter git clone https://github.com/liyuzhiGitHub/demo2.gitthen the item on the line is copied down, close the terminal, update the project after right click on the project folder and click Git bash here3. Git Add. git commit-m ' commit log two ' to establish a connection to GIT push-v Origin master
Summary essays for GitHub