新建GitHub项目

Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.

Open Terminal. Change the current working directory to your local project.

Initialize the local......

Git Basics

Setting user name and emailgit config --global user.name "Guangning Yu"

git config --global user.email "hi@guangningyu.com"

Showing remotesgit remote -v

Changing a remote's URLgit remote set-url origin git@github.com:guangningyu/flasky.git

Pulling from remotesgit pull o......