jdhao's digital space

Recent content on jdhao's digital space

马上订阅 jdhao's digital space RSS 更新: https://jdhao.github.io/index.xml

How to Push Local Git Repo to Remote Repo in GitHub

2018年5月16日 16:22

There are two basic cases when we push our local repo to remote repo. These two cases differ in their settings. But sometimes, we are easily confused.

First scenario
#

The first case is that you have created a local repo and want to store it on GitHub later. In this case, your usual work flow for local repo is: