Git 全局設置:
git config --global user.name "依然范特西"
git config --global user.email "[email protected]"
創建 git 倉庫:
mkdir UKNOW-BLOG
cd UKNOW-BLOG
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/uknowfantasy/UKNOW-BLOG.git
git push -u origin master
已有項目?
cd existing_git_repo
git remote add origin https://gitee.com/uknowfantasy/UKNOW-BLOG.git
git push -u origin master