(20210221已解决)如何将本地已有文件夹push到github并新建仓库
OverviewIn english, maybe this question:How to push local directory to github, and create a new repository?SolutionsGithub: Create a new repository on Github, get the https URL创建时保证是空的,不要添加Readme或.git
·
-
Overview
In english, maybe this question:
How to push local directory to github, and create a new repository?
-
Solutions
-
Github: Create a new repository on Github, get the https URL
创建时保证是空的,不要添加Readme或.gitignore, 避免出现 master had recent pushes
Compare & pull request -
Local:
cd project git init git add * git commit -m "Initial" git remote add origin https_URL git remote -v git push -f origin master
-
-
References
更多推荐
所有评论(0)