如何使用gitbash 把你的代码托管到github

1.如果你没有创建仓库

mkdir vuex-playList
cd vuex-playList
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/wangweigit3077/vuex-playList.git
git push -u origin master
2.如果你已经创建了仓库
cd existing_git_repo
git remote add origin https://gitee.com/wangweigit3077/vuex-playList.git
git push -u origin master