Git global settings:
git config --global user.name "依然范特西"
git config --global user.email "[email protected]"
Create a git repository:
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
Already have a project?
cd existing_git_repo
git remote add origin https://gitee.com/uknowfantasy/UKNOW-BLOG.git
git push -u origin master