- #1、Git 全局设置:
- git config --global user.name "skbarcode"
- git config --global user.email "24072078@qq.com"
- #2、初始化 git 仓库:
- git init
- touch README.md
- git add *
- git commit -m "first commit"
- git remote add origin https://gitee.com/skbarcode/sk
- git pull origin master --allow-unrelated-histories
- git push -u origin master