簡易的命令行入門教程:
Git 全局設置:
git config --global user.name "your name"
git config --global user.email "your email"
創建 git 倉庫:
mkdir wxrobot_protject
cd wxrobot_protject
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin 你的倉庫地址
git push -u origin master
已有倉庫?
cd existing_git_repo
git remote add origin 你的倉庫地址
git push -u origin master