如何使用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

posted on 2018-12-25 22:39  码农_9527  阅读(150)  评论(0编辑  收藏  举报

导航