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
本地Git仓库搭建教程
本文详细介绍了如何在项目目录中初始化本地Git仓库、提交文件、添加远程仓库并推送代码到远程仓库的过程。
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

被折叠的 条评论
为什么被折叠?