右键项目根目录,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
右键项目根目录,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