将本地的仓库推送到github
小于 1 分钟
git init
git config user.name "昵称"
git config user.email "邮箱"
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin [email protected]别名:kadobao/my-vue-me
git push -u origin main
修改远程仓库地址:
git remote set-url origin https://gitee.com/your_username/your_repository.git