簡易的命令行入門教程:
Git 全局設(shè)置:
git config --global user.name "slm"
git config --global user.email "649769018@qq.com"
創(chuàng)建 git 倉庫:
mkdir xxx
cd xxx
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/idealyu/xxx.git
git push -u origin master
已有倉庫?
cd existing_git_repo
git remote add origin https://gitee.com/idealyu/xxx.git
git push -u origin master