git命令上传本地项目(gitee为例)
作者:互联网
右键项目根目录,git bash here
敲入如下命令上传所有文件(需根据仓库名修改命令)
此处仓库名为miaosha
git init
touch README.md
git add -A
git commit -m "first commit"
git remote add origin https://gitee.com/while_you/miaosha.git
git push -u origin master
标签:origin,git,为例,gitee,add,commit,miaosha 来源: https://blog.csdn.net/while_you/article/details/122607336