常用操作指令
克隆平台项目到本地
git clone https://gitee.com/zhongshu-life/zhongshu-e-purchase.git
初始化
git init
简易的命令行入门教程:
Git 全局设置:
git config --global user.name "刘明军"
git config --global user.email "service@ahtuoshan.com"
创建 git 仓库:
mkdir tosan-soft
cd tosan-soft
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/tosan/tosan-soft.git
git push -u origin "master"
已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/tosan/tosan-soft.git
git push -u origin "master"
No comments to display
No comments to display