Push local non-git project to remote github repo

来源:互联网 发布:mac mysql 安装 编辑:程序博客网 时间:2024/06/04 17:59

Initiate a local repository in project directory

$ git init

Commit local files to local repo

Add remote repo

git remote add origin *[your remote repo url]*

Push local repo master branch to remote master branch

git push origin master
0 0
原创粉丝点击